summaryrefslogtreecommitdiff
path: root/test/Makefile.tests
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-06-16 19:16:32 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-06-16 19:16:32 +0000
commit246fcca3181d2881bc6fb5190b0f54403269688e (patch)
tree5db157a5b49c0cbd725739d2a24f8c216390f6bd /test/Makefile.tests
parent890d5bd263e7becc34a3dc9c23ef6cc5550609fe (diff)
downloadllvm-246fcca3181d2881bc6fb5190b0f54403269688e.tar.gz
llvm-246fcca3181d2881bc6fb5190b0f54403269688e.tar.bz2
llvm-246fcca3181d2881bc6fb5190b0f54403269688e.tar.xz
Reconfigured the TOOLS variable so that it points to the current set of tools
built by the LLVM build. Added a path for use with the TestRunner.sh script so that it can always find the LLVM tools without having the user place them in his or her path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile.tests')
-rw-r--r--test/Makefile.tests8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index 630bacfb9f..22796116d9 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -30,11 +30,7 @@ endif
.PRECIOUS: Output/%.llvm.bc
.PRECIOUS: Output/%.llvm
-ifdef ENABLE_OPTIMIZED
-TOOLS = $(BUILD_OBJ_ROOT)/tools/Release
-else
-TOOLS = $(BUILD_OBJ_ROOT)/tools/Debug
-endif
+TOOLS = $(LLVMTOOLCURRENT)
# LLVM Tool Definitions...
#
@@ -57,7 +53,7 @@ LCCFLAGS += -O2 -Wall
LCXXFLAGS += -O2 -Wall
LLCFLAGS =
FAILURE = $(LEVEL)/test/Failure.sh
-TESTRUNR = $(LEVEL)/test/TestRunner.sh
+TESTRUNR = PATH=$(LLVMTOOLCURRENT) $(LEVEL)/test/TestRunner.sh
# Native Tool Definitions
NATGCC = $(CC)