From: Richard Levitte Date: Tue, 27 Aug 2019 03:19:49 +0000 (+0200) Subject: test/run_tests: when ctest is verbose, make TAP::Harness verbose too X-Git-Tag: v3.0.0~275^2 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=238fd36fb1f33cf2894911385450ef277b9e9845;p=openssl-gost%2Fengine.git test/run_tests: when ctest is verbose, make TAP::Harness verbose too --- 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);