1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

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.
This commit is contained in:
Andrew Dunstan 2017-07-16 11:24:29 -04:00
parent 4e763fb6f6
commit b4a1d69ed4

View File

@ -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;
}