evp_test: use the test file name as the test title

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3445)
This commit is contained in:
Richard Levitte 2017-05-11 19:13:49 +02:00
parent b73c5e054a
commit 46fcbf77bc

View File

@ -2077,6 +2077,7 @@ static int do_test_file(const char *testfile)
char buf[10240];
EVP_TEST t;
set_test_title(testfile);
current_test_file = testfile;
if (!TEST_ptr(in = BIO_new_file(testfile, "rb")))
return 0;