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

Chris Lattner lattner at cs.uiuc.edu
Thu Jan 23 13:32:01 PST 2003


Changes in directory llvm/utils:

NightlyTest.pl updated: 1.5 -> 1.6

---
Log message:

Compress large logs


---
Diffs of the changes:

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.5 llvm/utils/NightlyTest.pl:1.6
--- llvm/utils/NightlyTest.pl:1.5	Wed Jan 22 14:35:59 2003
+++ llvm/utils/NightlyTest.pl	Thu Jan 23 13:31:28 2003
@@ -268,8 +268,12 @@
 chdir "test/Programs" or die "Could not change into programs testdir!";
 
 # Run the programs tests... creating a report.nightly.html file
-system "gmake $MAKEOPTS report.nightly.html TEST=nightly "
-     . "> $Prefix-ProgramTest.txt 2>&1" if (!$NOTEST);
+if (!$NOTEST) {
+  system "gmake $MAKEOPTS report.nightly.html TEST=nightly "
+       . "> $Prefix-ProgramTest.txt 2>&1";
+} else {
+  system "gunzip $Prefix-ProgramTest.txt.gz";
+}
 
 my $ProgramsTable = ReadFile "report.nightly.html";
 
@@ -278,6 +282,9 @@
 #
 system "grep -E 'TEST-(PASS|FAIL)' < $Prefix-ProgramTest.txt "
      . "| sort --key=3 > $Prefix-Tests.txt";
+
+# Compress the test output
+system "gzip $Prefix-ProgramTest.txt";
 
 my ($RTestsAdded, $RTestsRemoved) = DiffFiles "-Tests.txt";
 





More information about the llvm-commits mailing list