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

Reid Spencer rspencer at reidspencer.com
Fri May 18 10:42:02 PDT 2007


On Fri, 2007-05-18 at 12:34 -0500, Chris Lattner wrote:
> 
> Changes in directory llvm-test:
> 
> RunSafely.sh updated: 1.31 -> 1.32
> ---
> Log message:
> 
> reid's patch from yesterday broke darwin

You realize that reverting that patch means that all tests are not
guarded by any of the ulimit controls?

Reid.

> 
> 
> ---
> 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; }
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list