malfunction with Perl). You may want increased verbosity, that
can be accomplished like this:
- $ HARNESS_VERBOSE=yes make test # Unix
+ $ make VERBOSE=1 test # Unix
- $ DEFINE HARNESS_VERBOSE YES
+ $ DEFINE VERBOSE 1
$ mms test ! OpenVMS
- $ set HARNESS_VERBOSE=yes
- $ nmake test # Windows
+ $ nmake VERBOSE=1 test # Windows
If you want to run just one or a few specific tests, you can use
the make variable TESTS to specify them, like this:
And of course, you can combine (Unix example shown):
- $ HARNESS_VERBOSE=yes make TESTS='test_rsa test_dsa' test
+ $ make VERBOSE=1 TESTS='test_rsa test_dsa' test
You can find the list of available tests like this:
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/;