[llvm-commits] CVS: llvm-test/RunSafely.sh

Lauro Ramos Venancio lauro.venancio at gmail.com
Fri May 4 14:32:00 PDT 2007



Changes in directory llvm-test:

RunSafely.sh updated: 1.29 -> 1.30
---
Log message:

Fix the previous patch: we don't want to count the time needed to run ULIMITCMD.


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

 RunSafely.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/RunSafely.sh
diff -u llvm-test/RunSafely.sh:1.29 llvm-test/RunSafely.sh:1.30
--- llvm-test/RunSafely.sh:1.29	Fri May  4 16:24:42 2007
+++ llvm-test/RunSafely.sh	Fri May  4 16:31:42 2007
@@ -102,7 +102,7 @@
 fi
 
 if [ "x$RHOST" = x ] ; then
-  ( time -p sh -c "$ULIMITCMD $COMMAND >$OUTFILE 2>&1 < $INFILE" ; echo exit $? ) 2>&1 \
+  ( sh -c "$ULIMITCMD"; time -p sh -c "$COMMAND >$OUTFILE 2>&1 < $INFILE" ; echo exit $? ) 2>&1 \
     | awk -- '\
 BEGIN     { cpu = 0.0; }
 /^user/   { cpu += $2; print; }






More information about the llvm-commits mailing list