Really fail if we have a test failure
Commit c5f7a99645
broke the test framework such that some tests might
fail, but the test framework still gives a PASS result overall.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9056)
This commit is contained in:
parent
41525ed628
commit
cb30e46b45
1 changed files with 2 additions and 0 deletions
|
@ -353,6 +353,8 @@ int run_tests(const char *test_prog_name)
|
|||
verdict = all_tests[i].test_fn();
|
||||
test_verdict(verdict, "%d - %s", ii + 1, test_title);
|
||||
finalize(verdict != 0);
|
||||
if (verdict == 0)
|
||||
num_failed++;
|
||||
} else {
|
||||
int num_failed_inner = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue