diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-08 07:58:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-08 07:58:41 +0000 |
commit | 6d8cdf1e39da953da80b9e2e3e726271fe52df72 (patch) | |
tree | 02f1b5969b39e4f3d0404b6b4d54fda3501a0478 /test/TestRunner.sh | |
parent | 6cae0e06ac049cc167d58b3df3b1d3ec3550ce3f (diff) |
make xfail info more nice
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TestRunner.sh')
-rwxr-xr-x | test/TestRunner.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TestRunner.sh b/test/TestRunner.sh index 894a997a13..2c96fd5b48 100755 --- a/test/TestRunner.sh +++ b/test/TestRunner.sh @@ -36,10 +36,10 @@ ulimit -t 40 SCRIPT=$OUTPUT.script grep 'RUN:' $FILENAME | sed "s|^.*RUN:\(.*\)$|\1|g;s|%s|$SUBST|g;s|%llvmgcc|llvm-gcc -emit-llvm|g;s|%llvmgxx|llvm-g++ -emit-llvm|g;s|%prcontext|prcontext.tcl|g" > $SCRIPT +grep -q XFAIL $FILENAME && (printf "XFAILED '$TESTNAME': "; grep XFAIL $FILENAME) /bin/sh $SCRIPT > $OUTPUT 2>&1 || ( echo "******************** TEST '$TESTNAME' FAILED! ********************" - grep XFAIL $FILENAME echo "Command: " cat $SCRIPT echo "Output:" |