mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
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@openssl.org>
This commit is contained in:
parent
e2c1aa1ba3
commit
c80bbcbf99
@ -82,7 +82,10 @@ foreach my $arg (@ARGV ? @ARGV : ('alltests')) {
|
||||
}
|
||||
|
||||
my $harness = $TAP_Harness->new(\%tapargs);
|
||||
$harness->runtests(map { abs2rel($_, rel2abs(curdir())); } sort keys %tests);
|
||||
my $ret = $harness->runtests(map { abs2rel($_, rel2abs(curdir())); }
|
||||
sort keys %tests);
|
||||
|
||||
exit $ret->has_errors if (ref($ret) eq "TAP::Parser::Aggregator");
|
||||
|
||||
sub find_matching_tests {
|
||||
my ($glob) = @_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user