Only generate HTML for log files passed on the command line.

With the make bits already in place, this means that make retest
creates HTML for only the retested tests.
This commit is contained in:
Behdad Esfahbod 2006-07-13 18:49:52 -04:00
parent 4b22cb41a9
commit 6c7099b0cc

View file

@ -45,7 +45,9 @@ my $tests = {};
my $teststats = {};
foreach (<*.log>) {
if ($#ARGV >= 0) { @files = @ARGV; } else { @files = <*.log>; }
foreach (<@files>) {
(open LOG, "$_") || next;
while (<LOG>) {
next unless /^TEST: (.*) TARGET: (.*) FORMAT: (.*) OFFSET: (.*) RESULT: (.*)$/;