diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-02-25 14:43:21 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-02-26 18:43:34 +0100 |
commit | 4519ea90eb8137ce3f00860a705f8320f41b6057 (patch) | |
tree | 58abac5d4647dae5664dab4e71a70552d9ca44aa /test/testutil/driver.c | |
parent | db7fbd54cf0636e25d4f8b8fddd829741064b831 (diff) |
tests: Always print errors before test verdict
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14316)
Diffstat (limited to 'test/testutil/driver.c')
-rw-r--r-- | test/testutil/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/driver.c b/test/testutil/driver.c index 467c3e8eb3..24222fa865 100644 --- a/test/testutil/driver.c +++ b/test/testutil/driver.c @@ -327,8 +327,8 @@ int run_tests(const char *test_prog_name) } else if (all_tests[i].num == -1) { set_test_title(all_tests[i].test_case_name); verdict = all_tests[i].test_fn(); - test_verdict(verdict, "%d - %s", ii + 1, test_title); finalize(verdict != 0); + test_verdict(verdict, "%d - %s", ii + 1, test_title); if (verdict == 0) num_failed++; } else { |