make xfail info more nice

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35764 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-08 07:58:41 +00:00
parent 6cae0e06ac
commit 6d8cdf1e39

View File

@ -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:"