This is a manual backport of #3472 to 1.1.0.
This is a partial backport, limited only to evptests, as #3472 also
affected bntests, which has a completely different form in 1.1.0.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7152)
use strict;
use warnings;
-use OpenSSL::Test qw/:DEFAULT srctop_file/;
+use OpenSSL::Test qw/:DEFAULT data_file/;
setup("test_evp");
plan tests => scalar(@files);
foreach my $f ( @files ) {
- ok(run(test(["evp_test", srctop_file("test","$f")])),
+ ok(run(test(["evp_test", data_file("$f")])),
"running evp_test $f");
}