testrunner should print out xfail info.
authorChris Lattner <sabre@nondot.org>
Sun, 8 Apr 2007 07:49:19 +0000 (07:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Apr 2007 07:49:19 +0000 (07:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35761 91177308-0d34-0410-b5e6-96231b3b80d8

test/TestRunner.sh

index e84f56bd00c0167297717064240fa99be8956d3b..894a997a13e091f088b318ccaa91b900bde8ecb4 100755 (executable)
@@ -39,6 +39,7 @@ grep 'RUN:' $FILENAME | sed "s|^.*RUN:\(.*\)$|\1|g;s|%s|$SUBST|g;s|%llvmgcc|llvm
 
 /bin/sh $SCRIPT > $OUTPUT 2>&1 || (
   echo "******************** TEST '$TESTNAME' FAILED! ********************"
+  grep XFAIL $FILENAME
   echo "Command: "
   cat $SCRIPT
   echo "Output:"