[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
Andy Polyakov
appro at openssl.org
Mon May 22 08:19:26 UTC 2017
The branch OpenSSL_1_1_0-stable has been updated
via c7f6ec9e5afc575df260c21ba77cf3a45a8b9b39 (commit)
from 8f59b3267ddbffc6dd0da780fe5a1f3dcc4a2259 (commit)
- Log -----------------------------------------------------------------
commit c7f6ec9e5afc575df260c21ba77cf3a45a8b9b39
Author: Andy Polyakov <appro at openssl.org>
Date: Sun May 21 11:40:46 2017 +0200
test/run_tests.pl: don't mask test failures.
Switch to TAP::Harness inadvertently masked test failures.
Test::Harness::runtests was terminating with non-zero exit code in case
of failure[s], while TAP::Harness apparently holds caller responsible
for doing so.
Reviewed-by: Rich Salz <rsalz at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
test/run_tests.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/run_tests.pl b/test/run_tests.pl
index f1fcbfc..148f2ed 100644
--- a/test/run_tests.pl
+++ b/test/run_tests.pl
@@ -62,7 +62,9 @@ if ($list_mode) {
@tests = map { abs2rel($_, rel2abs(curdir())); } @tests;
my $harness = $TAP_Harness->new(\%tapargs);
- $harness->runtests(sort @tests);
+ my $ret = $harness->runtests(sort @tests);
+
+ exit $ret->has_errors if (ref($ret) eq "TAP::Parser::Aggregator");
}
More information about the openssl-commits
mailing list