aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-26 22:48:08 +0000
committerChris Lattner <sabre@nondot.org>2002-01-26 22:48:08 +0000
commit296a360dc5db9a23827291fbf90ccfe98f3c7fa9 (patch)
tree06a352178dc5fd52b6c8d9979dcd8343be555140 /test
parent699a7bfd6b0c789e7e04c0e182d7518b34b514b0 (diff)
Make gcc tests depend on the part of GCC that actually gets updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.tests5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index 21c4b7cb43..905531a884 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -19,6 +19,7 @@ include ${LEVEL}/Makefile.common
# LLVM Tool Definitions...
#
LCC = /home/vadve/lattner/cvs/gcc_install/bin/gcc
+LCC1 = /home/vadve/lattner/cvs/gcc_install/lib/gcc-lib/llvm/3.1/cc1
TOOLS = $(LEVEL)/tools/Debug
LLI = $(TOOLS)/lli
LLC = $(TOOLS)/llc
@@ -56,7 +57,7 @@ clean ::
$(RM) a.out core
$(RM) -rf Output/
-Output/%.ll: %.c $(LCC) Output/.dir
+Output/%.ll: %.c $(LCC1) Output/.dir
$(LCC) $(LCCFLAGS) -S $< -o $@
Output/%.bc: Output/%.ll $(LGCCAS)
@@ -68,7 +69,7 @@ Output/%.bc: %.ll $(LAS)
#
# Testing versions of provided utilities...
#
-Output/%.tll: %.c $(LCC) Output/.dir
+Output/%.tll: %.c $(LCC1) Output/.dir
@echo "======== Compiling $<"
$(LCC) $(LCCFLAGS) -S $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )