From: Chris Lattner Date: Mon, 16 Jul 2007 04:35:52 +0000 (+0000) Subject: add required directories to the path automatically, so the user doesn't need to worry... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1467e03df1dce515ed3013c7dcb6f5c541ab0d5f;p=clang add required directories to the path automatically, so the user doesn't need to worry about it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39901 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Makefile b/test/Makefile index fc759fa5ed..8e083cf9fe 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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 {} \;