diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-03-10 16:32:33 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-03-10 16:32:33 +0000 |
commit | d3a5412d1d39256711518f33a81f9e45c31acb23 (patch) | |
tree | 5a8f0ebed25c7da15a8521040fac63a9fb5a8e77 | |
parent | 453d06218206fd95bd2c27afe29894ad6c7ac376 (diff) |
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
-rwxr-xr-x | utils/NightlyTest.pl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index fe036bc342..00c7d4dac6 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -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"; } |