diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-16 04:35:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-16 04:35:52 +0000 |
commit | 1467e03df1dce515ed3013c7dcb6f5c541ab0d5f (patch) | |
tree | 1d3e6d0b8b5f6f85387594e5a73e13dbc6d3aea1 | |
parent | 7d5afc3982b7ca6c327143669bddfa932d1e16cc (diff) |
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
-rw-r--r-- | test/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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 {} \; |