diff options
| author | Andrew Dunstan | 2017-05-12 15:11:49 +0000 |
|---|---|---|
| committer | Andrew Dunstan | 2017-05-12 15:11:49 +0000 |
| commit | 56b6ef893fee9e9bf47d927a02f4d1ea911f4d9c (patch) | |
| tree | 5671c37d6abe7b6033b8008aae1f143312c0d994 /src/tools/msvc | |
| parent | b757e01f62e44b4f425f78e3dc4e247ca9f1e983 (diff) | |
Honor PROVE_FLAGS environment setting
On MSVC builds and on back branches that means removing the hardcoded
--verbose setting. On master for Unix that means removing the empty
setting in the global Makefile so that the value can be acquired from
the environment as well as from the make arguments.
Backpatch to 9.4 where we introduced TAP tests
Diffstat (limited to 'src/tools/msvc')
| -rw-r--r-- | src/tools/msvc/vcregress.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl index 2d16db07e2..830be2ba05 100644 --- a/src/tools/msvc/vcregress.pl +++ b/src/tools/msvc/vcregress.pl @@ -181,7 +181,10 @@ sub tap_check my $dir = shift; chdir $dir; - my @args = ("prove", "--verbose", "t/*.pl"); + my @flags; + @flags = split(/\s+/,$ENV{PROVE_FLAGS}) if exists $ENV{PROVE_FLAGS}; + + my @args = ("prove", @flags, "t/*.pl"); # adjust the environment for just this test local %ENV = %ENV; |
