[cfe-commits] r39901 - /cfe/trunk/test/Makefile

Chris Lattner sabre at nondot.org
Sun Jul 15 21:35:52 PDT 2007


Author: lattner
Date: Sun Jul 15 23:35:52 2007
New Revision: 39901

URL: http://llvm.org/viewvc/llvm-project?rev=39901&view=rev
Log:
add required directories to the path automatically, so the user doesn't need to worry about it.

Modified:
    cfe/trunk/test/Makefile

Modified: cfe/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=39901&r1=39900&r2=39901&view=diff

==============================================================================
--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Sun Jul 15 23:35:52 2007
@@ -1,3 +1,5 @@
+LEVEL = ../../..
+include $(LEVEL)/Makefile.common
 
-all:
-	find CodeGen Lexer Preprocessor Parser Sema \( -name '*.c' -or -name '*.cpp' \) -print -exec ./TestRunner.sh {} \;
+all::
+	PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts find CodeGen Lexer Preprocessor Parser Sema \( -name '*.c' -or -name '*.cpp' \) -print -exec ./TestRunner.sh {} \;





More information about the cfe-commits mailing list