[llvm-commits] CVS: llvm/utils/NightlyTest.pl

Misha Brukman brukman at cs.uiuc.edu
Thu Mar 10 08:32:44 PST 2005



Changes in directory llvm/utils:

NightlyTest.pl updated: 1.91 -> 1.92
---
Log message:

Replace tabs with spaces, separate function arguments with a space


---
Diffs of the changes:  (+12 -12)

 NightlyTest.pl |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)


Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.91 llvm/utils/NightlyTest.pl:1.92
--- llvm/utils/NightlyTest.pl:1.91	Thu Mar 10 10:26:50 2005
+++ llvm/utils/NightlyTest.pl	Thu Mar 10 10:32:33 2005
@@ -213,30 +213,30 @@
         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 @@
   push(@lines, "</pre>\n");
   close SRCHFILE;
 
-  my $content = join("", at lines);
+  my $content = join("", @lines);
   return "$content</li></ol>\n";
 }
 






More information about the llvm-commits mailing list