[llvm-commits] CVS: llvm/test/TestRunner.sh
Chris Lattner
sabre at nondot.org
Sun Apr 8 00:58:59 PDT 2007
Changes in directory llvm/test:
TestRunner.sh updated: 1.14 -> 1.15
---
Log message:
make xfail info more nice
---
Diffs of the changes: (+1 -1)
TestRunner.sh | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/test/TestRunner.sh
diff -u llvm/test/TestRunner.sh:1.14 llvm/test/TestRunner.sh:1.15
--- llvm/test/TestRunner.sh:1.14 Sun Apr 8 02:49:19 2007
+++ llvm/test/TestRunner.sh Sun Apr 8 02:58:41 2007
@@ -36,10 +36,10 @@
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:"
More information about the llvm-commits
mailing list