Replace tabs with spaces, separate function arguments with a space

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2005-03-10 16:32:33 +00:00
parent 453d062182
commit d3a5412d1d

View File

@ -213,30 +213,30 @@ sub GetDejagnuTestResults { # (filename, log)
if ( m/^XPASS:/ || m/^FAIL:/ ) {
$nocopy = 0;
if ( $first_list ) {
push(@lines,"<h3>UNEXPECTED TEST RESULTS</h3><ol><li>\n");
push(@lines, "<h3>UNEXPECTED TEST RESULTS</h3><ol><li>\n");
$first_list = 0;
$should_break = 1;
push(@lines,"<b>$_</b><br/>\n");
push(@lines, "<b>$_</b><br/>\n");
print " $_\n";
} else {
push(@lines,"</li><li><b>$_</b><br/>\n");
push(@lines, "</li><li><b>$_</b><br/>\n");
print " $_\n";
}
} elsif ( m/Summary/ ) {
if ( $first_list ) {
push(@lines,"<b>PERFECT!</b>");
print " PERFECT!\n";
} else {
push(@lines, "</li></ol>\n");
}
push(@lines,"<h3>STATISTICS</h3><pre>\n");
print "\nSTATISTICS:\n";
push(@lines, "<b>PERFECT!</b>");
print " PERFECT!\n";
} else {
push(@lines, "</li></ol>\n");
}
push(@lines, "<h3>STATISTICS</h3><pre>\n");
print "\nSTATISTICS:\n";
$should_break = 0;
$nocopy = 0;
$readingsum = 1;
} elsif ( $readingsum ) {
push(@lines,"$_\n");
print "$_\n";
print "$_\n";
}
}
}
@ -244,7 +244,7 @@ sub GetDejagnuTestResults { # (filename, log)
push(@lines, "</pre>\n");
close SRCHFILE;
my $content = join("",@lines);
my $content = join("", @lines);
return "$content</li></ol>\n";
}