[cfe-commits] [libcxx] r151719 - /libcxx/trunk/test/testit

David Chisnall csdavec at swan.ac.uk
Wed Feb 29 05:00:44 PST 2012


Author: theraven
Date: Wed Feb 29 07:00:44 2012
New Revision: 151719

URL: http://llvm.org/viewvc/llvm-project?rev=151719&view=rev
Log:
Make the failure reporting in testit a bit more useful.


Modified:
    libcxx/trunk/test/testit

Modified: libcxx/trunk/test/testit
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/testit?rev=151719&r1=151718&r2=151719&view=diff
==============================================================================
--- libcxx/trunk/test/testit (original)
+++ libcxx/trunk/test/testit Wed Feb 29 07:00:44 2012
@@ -66,12 +66,14 @@
 					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





More information about the cfe-commits mailing list