]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - test/run_tests
test/run_tests: when ctest is verbose, make TAP::Harness verbose too
[openssl-gost/engine.git] / 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);