aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-07-16 11:24:29 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-07-16 11:27:00 -0400
commitb4a1d69ed4da83d25639f5bdb129ee83aa19c242 (patch)
treef3b0815cdd7b90722312ec5c18e1b4ec4ef23ac3 /src
parent4e763fb6f6345c44752ed87ffff41894d1d9c191 (diff)
downloadpostgresql-b4a1d69ed4da83d25639f5bdb129ee83aa19c242.tar.gz
postgresql-b4a1d69ed4da83d25639f5bdb129ee83aa19c242.zip
Fix vcregress.pl PROVE_FLAGS bug in commit 93b7d9731f
This change didn't adjust the publicly visible taptest function, causing buildfarm failures on bowerbird. Backpatch to 9.4 like previous change.
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/vcregress.pl11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 3acb9c0ee87..0d0cff9185a 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -226,11 +226,20 @@ sub bincheck
sub taptest
{
my $dir = shift;
+ my @args;
+
+ if ($dir =~ /^PROVE_FLAGS=/)
+ {
+ push(@args, $dir);
+ $dir = shift;
+ }
die "no tests found!" unless -d "$topdir/$dir/t";
+ push(@args,"$topdir/$dir);
+
InstallTemp();
- my $status = tap_check("$topdir/$dir");
+ my $status = tap_check(@args);
exit $status if $status;
}