]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
test/run_tests: when ctest is verbose, make TAP::Harness verbose too 164/head
authorRichard Levitte <richard@levitte.org>
Tue, 27 Aug 2019 03:19:49 +0000 (05:19 +0200)
committerRichard Levitte <richard@levitte.org>
Tue, 27 Aug 2019 03:20:36 +0000 (05:20 +0200)
test/run_tests

index b9912cf3c5d68535c6b6a8ab574ae8b4239bb20e..c1cd70c753840ca226859ae5bf32dba73c978c6e 100644 (file)
@@ -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);