From 1467e03df1dce515ed3013c7dcb6f5c541ab0d5f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Jul 2007 04:35:52 +0000 Subject: [PATCH] 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 --- test/Makefile | 6 ++++-- 1 file 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 {} \; -- 2.50.1