summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-04-06 20:42:38 +0100
committerBen Laurie <ben@links.org>2013-04-06 20:42:38 +0100
commita7f5cd7fd5a3f56e559a876fd07ed21eb1783bdb (patch)
tree3bf6e5b9f383e62e82813a6982d49b6a50511e01 /util
parentafdf3669218cfcfbcb83b070d35dfa71ea73f819 (diff)
Use original alltests target for definitive test list.
Diffstat (limited to 'util')
-rw-r--r--util/pl/unix.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/pl/unix.pl b/util/pl/unix.pl
index 1348133913..92b9563d13 100644
--- a/util/pl/unix.pl
+++ b/util/pl/unix.pl
@@ -263,6 +263,7 @@ sub get_tests
my %targets;
my %deps;
my %tests;
+ my @alltests;
while (my $line = <M>)
{
chomp $line;
@@ -278,6 +279,7 @@ sub get_tests
{
$targets{$t} = '';
}
+ @alltests = @t;
}
if (($line =~ /^(\S+):(.*)$/ && exists $targets{$1})
@@ -314,7 +316,6 @@ sub get_tests
$tests .= "$t = $tests{$t}\n";
}
- my $all = 'test:';
my $each;
foreach my $t (keys %targets)
{
@@ -379,7 +380,6 @@ sub get_tests
'testrsa.pem',
'testsid.pem',
'testss',
- 'testreq.pem',
);
my $copies = copy_scripts(1, 'test', @copies);
$copies .= copy_scripts(0, 'test', ('smcont.txt'));
@@ -398,6 +398,8 @@ sub get_tests
$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";
}