The branch OpenSSL_1_1_0-stable has been updated
via c7f6ec9e5afc575df260c21ba77cf3a45a8b9b39 (commit)
from 8f59b3267ddbffc6dd0da780fe5a1f3dcc4a2259 (commit)
- Log -----------------------------------------------------------------
commit c7f6ec9e5afc575df260c21ba77cf3a45a8b9b39
Author: Andy Polyakov <[email protected]>
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 <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
-----------------------------------------------------------------------
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");
}
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits