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