my %targets;
my %deps;
my %tests;
+ my @alltests;
while (my $line = <M>)
{
chomp $line;
{
$targets{$t} = '';
}
+ @alltests = @t;
}
if (($line =~ /^(\S+):(.*)$/ && exists $targets{$1})
$tests .= "$t = $tests{$t}\n";
}
- my $all = 'test:';
my $each;
foreach my $t (keys %targets)
{
'testrsa.pem',
'testsid.pem',
'testss',
- 'testreq.pem',
);
my $copies = copy_scripts(1, 'test', @copies);
$copies .= copy_scripts(0, 'test', ('smcont.txt'));
$scripts .= "\nocsp:\n\tcp -R test/ocsp-tests \$(TEST_D)\n";
$scripts .= "\smime:\n\tcp -R test/smime-certs \$(TEST_D)\n";
+ my $all = 'test: ' . join(' ', @alltests);
+
return "$scripts\n$copies\n$tests\n$all\n\n$each";
}