summaryrefslogtreecommitdiffstats
path: root/fips
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-09-20 23:25:07 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-09-20 23:25:07 +0000
commit0061aa9f322073f20edbe786743d454fba87b476 (patch)
treef100f490fccb1fe3f73fc4a63de1f46c8d219d1b /fips
parent3926bbcf6d29c2e0d0c258641d1d00d3a96c5288 (diff)
Don't announce tests run in empty directories
Diffstat (limited to 'fips')
-rw-r--r--fips/mkfipsscr.pl10
1 files changed, 7 insertions, 3 deletions
diff --git a/fips/mkfipsscr.pl b/fips/mkfipsscr.pl
index 29a26c116f..361641d36e 100644
--- a/fips/mkfipsscr.pl
+++ b/fips/mkfipsscr.pl
@@ -306,6 +306,7 @@ my $rspdir = "rsp";
my $rspignore = 0;
my @bogus = (); # list of unmatched *.rsp files
my $bufout = '';
+my $bufdir = '';
my %_programs = (); # list of external programs to check
foreach (@ARGV)
@@ -423,7 +424,6 @@ else
RM="$rmcmd"
MKDIR="$mkcmd"
TPREFIX=$tprefix
-
END
}
@@ -567,7 +567,7 @@ sub test_dir
{
$rsp =~ tr|/|\\|;
$req =~ tr|/|\\|;
- $bufout .= <<END;
+ $bufdir = <<END;
echo Running tests in $req
if exist "$rsp" rd /s /q "$rsp"
@@ -576,7 +576,7 @@ END
}
else
{
- $bufout .= <<END;
+ $bufdir = <<END;
echo Running tests in "$req"
\$RM "$rsp"
@@ -592,6 +592,10 @@ sub test_line
my ($win32, $req, $tprefix, $tnam) = @_;
my $rsp = $req;
my $tcmd = $fips_tests{$tnam};
+
+ $bufout .= $bufdir;
+ $bufdir = "";
+
$rsp =~ s/req\/([^\/]*).req$/$rspdir\/$1.rsp/;
if ($tcmd =~ /-f$/)
{