summaryrefslogtreecommitdiffstats
path: root/test/run_tests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_tests.pl')
-rw-r--r--test/run_tests.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/run_tests.pl b/test/run_tests.pl
index b8fef7c80d..b8281acceb 100644
--- a/test/run_tests.pl
+++ b/test/run_tests.pl
@@ -9,6 +9,11 @@
use strict;
use warnings;
+# Recognise VERBOSE and V which is common on other projects.
+BEGIN {
+ $ENV{HARNESS_VERBOSE} = "yes" if $ENV{VERBOSE} || $ENV{V};
+}
+
use File::Spec::Functions qw/catdir catfile curdir abs2rel rel2abs/;
use File::Basename;
use Test::Harness qw/runtests $switches/;