diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-29 19:43:33 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-30 18:44:18 +0200 |
commit | 3eefcea116b8143e99fbd9681ef8e364113c2d23 (patch) | |
tree | 3ff785858fc221bf7e6719a6fb94ea5b4871c7d2 /test/testlib | |
parent | fbd361eaf84446e8d6860ab2b7ecf9d04585f2ef (diff) |
When verbosity is requested, OpenSSL::Test::run() displays the command
It displays the command's exit code as well.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'test/testlib')
-rw-r--r-- | test/testlib/OpenSSL/Test.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm index c0471f918b..c2b9f5c589 100644 --- a/test/testlib/OpenSSL/Test.pm +++ b/test/testlib/OpenSSL/Test.pm @@ -354,6 +354,9 @@ sub run { $r = $hooks{exit_checker}->($e); } + print STDERR "$prefix$cmd => $e\n" + if !$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE}; + # At this point, $? stops being interesting, and unfortunately, # there are Test::More versions that get picky if we leave it # non-zero. |