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

Brian Gaeke gaeke at cs.uiuc.edu
Tue Oct 26 13:33:52 PDT 2004



Changes in directory reopt/test:

run-tests updated: 1.25 -> 1.26
---
Log message:

Don't let "rm -f" complain, if there are no files to remove.


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

Index: reopt/test/run-tests
diff -u reopt/test/run-tests:1.25 reopt/test/run-tests:1.26
--- reopt/test/run-tests:1.25	Tue Oct 26 14:02:28 2004
+++ reopt/test/run-tests	Tue Oct 26 15:33:42 2004
@@ -131,10 +131,10 @@
 
 do_clean () {
   echo "cleaning in $fullsubdirpath"
-  find $fullsubdirpath -name "*.out-llc" -print |xargs rm
-  find $fullsubdirpath -name "*.out-reopt-llc" -print |xargs rm
+  find $fullsubdirpath -name "*.out-llc" -print |xargs rm 2>/dev/null
+  find $fullsubdirpath -name "*.out-reopt-llc" -print |xargs rm 2>/dev/null
   if [ $outputonly -eq 0 ]; then
-    find $fullsubdirpath -name "*reopt*" -print |xargs rm -rf
+    find $fullsubdirpath -name "*reopt*" -print |xargs rm -rf 2>/dev/null
   fi
 }
 






More information about the llvm-commits mailing list