[llvm-commits] CVS: reopt/test/run-tests

Brian Gaeke gaeke at cs.uiuc.edu
Mon Aug 16 12:24:28 PDT 2004



Changes in directory reopt/test:

run-tests updated: 1.17 -> 1.18
---
Log message:

Remove directories with 'reopt' in their name, too.
Disable LLVM_REOPT debug options when running SPEC tests, b/c Sandbox.sh
doesn't like them.


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

Index: reopt/test/run-tests
diff -u reopt/test/run-tests:1.17 reopt/test/run-tests:1.18
--- reopt/test/run-tests:1.17	Wed Aug  4 00:28:05 2004
+++ reopt/test/run-tests	Mon Aug 16 14:24:18 2004
@@ -118,7 +118,7 @@
   find $fullsubdirpath -name "*.out-llc" -print |xargs rm
   find $fullsubdirpath -name "*.out-reopt-llc" -print |xargs rm
   if [ $outputonly -eq 0 ]; then
-    find $fullsubdirpath -name "*reopt*" -print |xargs rm
+    find $fullsubdirpath -name "*reopt*" -print |xargs rm -rf
   fi
 }
 
@@ -128,7 +128,10 @@
     export LLVM_REOPT
   fi
   if [ $spectest -eq 1 ]; then
-    exec gmake SUBDIR=$SUBDIR SPECTEST=1
+	# note: SPEC Sandbox.sh does NOT play nice with our debug output!
+	LLVM_REOPT='--enable-trace-opt'
+	export LLVM_REOPT
+    exec gmake SUBDIR=$SUBDIR SPECTEST=1 RUNTIMELIMIT=900
   else
     exec gmake SUBDIR=$SUBDIR
   fi






More information about the llvm-commits mailing list