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 de2af6e001
commit fd2487e49f

View File

@ -227,11 +227,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;
} }