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

Brian Gaeke gaeke at cs.uiuc.edu
Fri Jun 25 03:05:02 PDT 2004


Changes in directory reopt/test:

run-tests updated: 1.7 -> 1.8

---
Log message:

Add gzip, bzip2, and support multi-subdir tests better in do_clean().
Set LARGE_PROBLEM_SIZE for olden, and SPECTEST=1 for spec.


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

Index: reopt/test/run-tests
diff -u reopt/test/run-tests:1.7 reopt/test/run-tests:1.8
--- reopt/test/run-tests:1.7	Wed Jun 23 22:20:15 2004
+++ reopt/test/run-tests	Fri Jun 25 03:04:04 2004
@@ -56,6 +56,8 @@
   mcf) SUBDIR=External/SPEC/CINT2000/181.mcf; spectest=1 ;;
   art) SUBDIR=External/SPEC/CFP2000/179.art; spectest=1;;
   equake) SUBDIR=External/SPEC/CFP2000/183.equake; spectest=1 ;;
+  gzip) SUBDIR=External/SPEC/CFP2000/164.gzip; spectest=1 ;;
+  bzip2) SUBDIR=External/SPEC/CFP2000/256.bzip2; spectest=1 ;;
 
   *) die "Error: Unknown benchmark $arg" ;;
 esac
@@ -83,14 +85,21 @@
 
 do_clean () {
   echo "cleaning in $fullsubdirpath"
-  rm $fullsubdirpath/Output/*.out-*
+  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
   fi
 }
 
 do_test () {
-  exec gmake SUBDIR=$SUBDIR
+  if [ "$benchmk" = "olden" ]; then
+    exec gmake SUBDIR=$SUBDIR LARGE_PROBLEM_SIZE=1
+  elif [ $spectest -eq 1 ]; then
+    exec gmake SUBDIR=$SUBDIR SPECTEST=1
+  else
+    exec gmake SUBDIR=$SUBDIR
+  fi
 }
 
 case $action in





More information about the llvm-commits mailing list