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

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 2 22:41:00 PDT 2004


Changes in directory llvm/utils:

NightlyTest.pl updated: 1.48 -> 1.49

---
Log message:

Add -disable-codegen option to disable LLC and JIT targets


---
Diffs of the changes:  (+7 -5)

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.48 llvm/utils/NightlyTest.pl:1.49
--- llvm/utils/NightlyTest.pl:1.48	Mon May 31 15:59:55 2004
+++ llvm/utils/NightlyTest.pl	Wed Jun  2 22:29:39 2004
@@ -21,6 +21,7 @@
 #                   LARGE_PROBLEM_SIZE enabled.
 #  -parallel        Run two parallel jobs with GNU Make.
 #  -enable-linscan  Enable linearscan tests
+#  -disable-codegen Disable LLC and JIT tests in the nightly tester.
 #  -verbose         Turn on some debug output
 #  -debug           Print information useful only to maintainers of this script.
 #
@@ -129,7 +130,7 @@
 my $NOTEST     = 0;
 my $NORUNNINGTESTS = 0;
 my $MAKEOPTS   = "";
-my $ENABLELINEARSCAN = "";
+my $PROGTESTOPTS = "";
 my $VERBOSE  = 0;
 my $DEBUG = 0;
 
@@ -141,12 +142,13 @@
   # List command line options here...
   if (/^-nocheckout$/)     { $NOCHECKOUT = 1; next; }
   if (/^-noremove$/)       { $NOREMOVE   = 1; next; }
-  if (/^-nofeaturetests$/) { $NOFEATURES   = 1; next; }
-  if (/^-noregressiontests$/){ $NOREGRESSIONS   = 1; next; }
+  if (/^-nofeaturetests$/) { $NOFEATURES = 1; next; }
+  if (/^-noregressiontests$/){ $NOREGRESSIONS = 1; next; }
   if (/^-notest$/)         { $NOTEST     = 1; $NORUNNINGTESTS = 1; next; }
   if (/^-norunningtests$/) { $NORUNNINGTESTS = 1; next; }
   if (/^-parallel$/)       { $MAKEOPTS   = "-j2 -l3.0"; next; }
-  if (/^-enable-linscan$/) { $ENABLELINEARSCAN = "ENABLE_LINEARSCAN=1"; next; }
+  if (/^-enable-linscan$/) { $PROGTESTOPTS .= " ENABLE_LINEARSCAN=1"; next; }
+  if (/^-disable-codegen$/){ $PROGTESTOPTS .= " DISABLE_JIT=1 DISABLE_LLC=1"; next; }
   if (/^-verbose$/)        { $VERBOSE  = 1; next; }
   if (/^-debug$/)          { $DEBUG  = 1; next; }
 
@@ -467,7 +469,7 @@
 
   # Run the programs tests... creating a report.nightly.html file
   if (!$NOTEST) {
-    system "gmake -k $MAKEOPTS $ENABLELINEARSCAN report.nightly.html "
+    system "gmake -k $MAKEOPTS $PROGTESTOPTS report.nightly.html "
          . "TEST=nightly > $Prefix-$SubDir-ProgramTest.txt 2>&1";
   } else {
     system "gunzip $Prefix-$SubDir-ProgramTest.txt.gz";





More information about the llvm-commits mailing list