aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <richard@levitte.org>2019-08-27 05:19:49 +0200
committerRichard Levitte <richard@levitte.org>2019-08-27 05:20:36 +0200
commit238fd36fb1f33cf2894911385450ef277b9e9845 (patch)
tree6dd007870037001654d5f5a09c5d140588583f79 /test
parent87c8e5c1e0c9540f0b6c06ef6f74263a2b90f0dc (diff)
downloadgost-engine-238fd36fb1f33cf2894911385450ef277b9e9845.zip
gost-engine-238fd36fb1f33cf2894911385450ef277b9e9845.tar.gz
gost-engine-238fd36fb1f33cf2894911385450ef277b9e9845.tar.bz2
test/run_tests: when ctest is verbose, make TAP::Harness verbose too
Diffstat (limited to 'test')
-rw-r--r--test/run_tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/run_tests b/test/run_tests
index b9912cf..c1cd70c 100644
--- a/test/run_tests
+++ b/test/run_tests
@@ -44,5 +44,7 @@ if(defined $ENV{'OPENSSL_ROOT_DIR'}) {
$ENV{'PATH'} =
join(':', $openssl_bindir, split(/:/, $ENV{'PATH'}));
}
-my $harness = TAP::Harness->new();
+my $harness = TAP::Harness->new({
+ verbosity => (($ENV{CTEST_INTERACTIVE_DEBUG_MODE} // 0) != 0)
+});
exit ($harness->runtests(glob("*.t"))->all_passed() ? 0 : 1);