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>
This commit is contained in:
Richard Levitte 2016-03-29 19:43:33 +02:00
parent fbd361eaf8
commit 3eefcea116

View file

@ -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.