diff options
| author | Andrew Dunstan | 2007-09-24 21:42:34 +0000 |
|---|---|---|
| committer | Andrew Dunstan | 2007-09-24 21:42:34 +0000 |
| commit | e5b5739a2d8da002d1e4c1795997b6d92d21f588 (patch) | |
| tree | 149c036ac3db579138db05c9505cfe6c6db17449 /src/tools | |
| parent | 3f2a191b44cbde6a7a104cc3e95d53ce92c57648 (diff) | |
Use proper search for contrib makefiles in vcregress.pl
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/msvc/vcregress.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl index 0ec34e07a7d..6a357a02359 100644 --- a/src/tools/msvc/vcregress.pl +++ b/src/tools/msvc/vcregress.pl @@ -1,7 +1,7 @@ # -*-perl-*- hey - emacs - this is a perl file -# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.2 2007/09/24 21:14:54 adunstan Exp $ +# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.3 2007/09/24 21:42:34 adunstan Exp $ use strict; @@ -188,7 +188,9 @@ sub contribcheck my $mstat = 0; foreach my $module (glob("*")) { - next unless -d "$module/sql" && -d "$module/expected" && -f "Makefile"; + next unless -d "$module/sql" && + -d "$module/expected" && + (-f "$module/Makefile" || -f "$module/GNUmakefile"); chdir $module; print "============================================================\n"; print "Checking $module\n"; @@ -211,7 +213,7 @@ sub fetchTests my $handle; open($handle,"<Makefile") - || open($handle,"<GNUMakefile") + || open($handle,"<GNUmakefile") || die "Could not open Makefile"; local($/) = undef; my $m = <$handle>; |
