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

Chris Lattner sabre at nondot.org
Fri May 18 10:34:26 PDT 2007



Changes in directory llvm-test:

RunSafely.sh updated: 1.31 -> 1.32
---
Log message:

reid's patch from yesterday broke darwin


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

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


Index: llvm-test/RunSafely.sh
diff -u llvm-test/RunSafely.sh:1.31 llvm-test/RunSafely.sh:1.32
--- llvm-test/RunSafely.sh:1.31	Thu May 17 22:34:23 2007
+++ llvm-test/RunSafely.sh	Fri May 18 12:34:06 2007
@@ -35,7 +35,6 @@
 #     <program> is the path to the program to run
 #     <args...> are the arguments to pass to the program.
 #
-
 if [ $# -lt 4 ]; then
   echo "./RunSafely.sh <timeout> <exitok> <infile> <outfile> <program> <args...>"
   exit 1
@@ -103,7 +102,7 @@
 fi
 
 if [ "x$RHOST" = x ] ; then
-  ( eval $ULIMITCMD time -p sh -c "$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