]> granicus.if.org Git - clang/commitdiff
add required directories to the path automatically, so the user doesn't need to worry...
authorChris Lattner <sabre@nondot.org>
Mon, 16 Jul 2007 04:35:52 +0000 (04:35 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Jul 2007 04:35:52 +0000 (04:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39901 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index fc759fa5ed3051bad02499bd33588b907215d241..8e083cf9feb2a3849da73bb7c8d8bd80cc67e725 100644 (file)
@@ -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 {} \;