Make the failure reporting in testit a bit more useful.

llvm-svn: 151719
This commit is contained in:
David Chisnall 2012-02-29 13:00:44 +00:00
parent ca78592c16
commit 66d4573786
1 changed files with 4 additions and 2 deletions

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