From: Pauli Date: Sat, 12 Dec 2020 11:25:40 +0000 (+1000) Subject: test: print OPENSSL_TEST_RAND_ORDER=x when a randomised test fails. X-Git-Tag: openssl-3.0.0-alpha10~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a21a1c23c97163d341d1caf07c2160fcb68506b0;p=thirdparty%2Fopenssl.git test: print OPENSSL_TEST_RAND_ORDER=x when a randomised test fails. The previous message "random seed x" is a lot less descriptive. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/13672) --- diff --git a/test/testutil/driver.c b/test/testutil/driver.c index 9343dfb0162..0b4332b4926 100644 --- a/test/testutil/driver.c +++ b/test/testutil/driver.c @@ -256,7 +256,7 @@ PRINTF_FORMAT(2, 3) static void test_verdict(int verdict, test_flush_stderr(); if (verdict == 0 && seed != 0) - test_printf_tapout("# random seed: %d\n", seed); + test_printf_tapout("# OPENSSL_TEST_RAND_ORDER=%d\n", seed); test_printf_tapout("%s ", verdict != 0 ? "ok" : "not ok"); va_start(ap, description); test_vprintf_tapout(description, ap);