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

Reid Spencer reid at x10sys.com
Sat May 27 21:21:53 PDT 2006



Changes in directory llvm/test:

Makefile updated: 1.87 -> 1.88
---
Log message:

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. 


---
Diffs of the changes:  (+8 -0)

 Makefile |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/Makefile
diff -u llvm/test/Makefile:1.87 llvm/test/Makefile:1.88
--- llvm/test/Makefile:1.87	Thu Apr 13 15:33:59 2006
+++ llvm/test/Makefile	Sat May 27 23:21:40 2006
@@ -27,6 +27,10 @@
 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 @@
 	@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






More information about the llvm-commits mailing list