[llvm-commits] CVS: llvm/test/Makefile.tests

John Criswell criswell at choi.cs.uiuc.edu
Mon Jun 16 14:17:01 PDT 2003


Changes in directory llvm/test:

Makefile.tests updated: 1.62 -> 1.63

---
Log message:

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.


---
Diffs of the changes:

Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.62 llvm/test/Makefile.tests:1.63
--- llvm/test/Makefile.tests:1.62	Wed Jun 11 08:56:55 2003
+++ llvm/test/Makefile.tests	Mon Jun 16 14:16:32 2003
@@ -30,11 +30,7 @@
 .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 @@
 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)





More information about the llvm-commits mailing list