5 use File::Spec::Functions;
8 use OpenSSL::Test qw/:DEFAULT top_file/;
10 setup("check_testexes");
12 my $MINFO = top_file("MINFO");
15 if (ok(open(FH,$MINFO), "MINFO exists")) {
16 subtest 'Finding test scripts for the compiled test binaries' => sub {
17 find_tests(\*FH); close FH;
20 diag("Expected to find $MINFO, please run 'make files' in the top directory");
29 last if /^RELATIVE_DIRECTORY=test$/;
43 $key => top_file("test",
44 "recipes/[0-9][0-9]-test_$_.t"); } split(/\s+/, $_);
46 plan tests => scalar (keys %foundfiles);
48 foreach (sort keys %foundfiles) {
49 my @check = glob($foundfiles{$_});
50 ok(scalar @check, "check that a test for $_ exists")
51 || diag("Expected to find something matching $foundfiles{$_}");