Commit c7f6ec9e authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 8f59b326
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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");
}