summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorAndrew Dunstan2017-05-12 15:21:20 +0000
committerAndrew Dunstan2017-05-12 15:26:40 +0000
commit054a897c40c683b27cefaacbb85d536fcd8eedd1 (patch)
treec9cc39484e4d9c828a32cc06dccac92e67131f0f /src/tools
parent8ec82ee6ae7a302ab696f696a5eb2f45ae3c5910 (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')
-rw-r--r--src/tools/msvc/vcregress.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index bd1b607b001..60a99f7ceb1 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -179,7 +179,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;