aboutsummaryrefslogtreecommitdiff
path: root/test/testutil
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-02-25 14:43:21 +0100
committerTomas Mraz <tomas@openssl.org>2021-02-26 18:43:34 +0100
commit4519ea90eb8137ce3f00860a705f8320f41b6057 (patch)
tree58abac5d4647dae5664dab4e71a70552d9ca44aa /test/testutil
parentdb7fbd54cf0636e25d4f8b8fddd829741064b831 (diff)
downloadopenssl-4519ea90eb8137ce3f00860a705f8320f41b6057.zip
openssl-4519ea90eb8137ce3f00860a705f8320f41b6057.tar.gz
openssl-4519ea90eb8137ce3f00860a705f8320f41b6057.tar.bz2
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')
-rw-r--r--test/testutil/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/driver.c b/test/testutil/driver.c
index 467c3e8..24222fa 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 {