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