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:
parent
4e763fb6f6
commit
b4a1d69ed4
@ -226,11 +226,20 @@ sub bincheck
|
|||||||
sub taptest
|
sub taptest
|
||||||
{
|
{
|
||||||
my $dir = shift;
|
my $dir = shift;
|
||||||
|
my @args;
|
||||||
|
|
||||||
|
if ($dir =~ /^PROVE_FLAGS=/)
|
||||||
|
{
|
||||||
|
push(@args, $dir);
|
||||||
|
$dir = shift;
|
||||||
|
}
|
||||||
|
|
||||||
die "no tests found!" unless -d "$topdir/$dir/t";
|
die "no tests found!" unless -d "$topdir/$dir/t";
|
||||||
|
|
||||||
|
push(@args,"$topdir/$dir);
|
||||||
|
|
||||||
InstallTemp();
|
InstallTemp();
|
||||||
my $status = tap_check("$topdir/$dir");
|
my $status = tap_check(@args);
|
||||||
exit $status if $status;
|
exit $status if $status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user