Make the failure reporting in testit a bit more useful.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151719 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Chisnall 2012-02-29 13:00:44 +00:00
parent 8fa14e97ca
commit f2b2cc6440

View File

@ -66,12 +66,14 @@ function afunc
rm ./$TEST_EXE
let "pass+=1"
else
echo "$FILE failed at run time"
echo "`pwd`/$FILE failed at run time"
echo "Compile line was:" $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS
let "fail+=1"
rm ./$TEST_EXE
fi
else
echo "$FILE failed to compile"
echo "`pwd`/$FILE failed to compile"
echo "Compile line was:" $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS
let "fail+=1"
fi
done