diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-05-28 04:21:40 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-05-28 04:21:40 +0000 |
commit | 15d40594303072ed426116cfb9465a05313545e9 (patch) | |
tree | 7a6573e703441948a6e89ab43974ae29aa52cca0 /test/Makefile | |
parent | 2f21e07915c1e09245d51b64b55f0f25d5f8a7f5 (diff) | |
download | external_llvm-15d40594303072ed426116cfb9465a05313545e9.zip external_llvm-15d40594303072ed426116cfb9465a05313545e9.tar.gz external_llvm-15d40594303072ed426116cfb9465a05313545e9.tar.bz2 |
Provide an infrastructure for testing the llvm2cpp program (yet to be
committed). This infrastructure is only activated when RUNLLVM2CPP=1 is
specified on the make command line. Currently it is only supported in the
Feature test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index 4529619..77e6e4b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -27,6 +27,10 @@ CLEANED_TESTSUITE := $(patsubst %/,%,$(TESTSUITE)) RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE) endif +ifndef RUNLLVM2CPP +RUNTESTFLAGS += --ignore llvm2cpp.exp +endif + check-local:: site.exp PATH="$(LLVMToolDir):$(LLVMExmplDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \ $(RUNTEST) $(RUNTESTFLAGS) @@ -43,6 +47,10 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config @echo 'set target_triplet "$(TARGET_TRIPLE)"' >> site.tmp @echo 'set llvmgcc_version "$(LLVMGCC_VERSION)"' >> site.tmp @echo 'set prcontext "$(TCLSH) $(LLVM_SRC_ROOT)/test/Scripts/prcontext.tcl"' >> site.tmp + @echo 'set tooldir "$(ToolDir)"' >>site.tmp + @echo 'set libdir "$(LibDir)"' >>site.tmp + @echo 'set srcroot "$(LLVM_SRC_ROOT)"' >>site.tmp + @echo 'set objroot "$(LLVM_OBJ_ROOT)"' >>site.tmp @echo 'set srcdir "$(LLVM_SRC_ROOT)/test"' >>site.tmp @echo 'set objdir "$(LLVM_OBJ_ROOT)/test"' >>site.tmp @echo 'set llvmgcc "PATH=\"$(LLVMToolDir):$(PATH)\" \"$(LLVMGCC)\""' >> site.tmp |