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

Chris Lattner lattner at cs.uiuc.edu
Mon Jul 31 17:08:14 PDT 2006



Changes in directory llvm/test:

Makefile updated: 1.89 -> 1.90
---
Log message:

If dejagnu is not found, tell the user instead of bombing out with an
obscure error.


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

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


Index: llvm/test/Makefile
diff -u llvm/test/Makefile:1.89 llvm/test/Makefile:1.90
--- llvm/test/Makefile:1.89	Sun May 28 02:22:40 2006
+++ llvm/test/Makefile	Mon Jul 31 19:07:58 2006
@@ -31,9 +31,14 @@
 RUNTESTFLAGS += --ignore llvm2cpp.exp
 endif
 
+ifneq ($(RUNTEST),)
 check-local:: site.exp
 	PATH="$(LLVMToolDir):$(LLVMExmplDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
 	$(RUNTEST) $(RUNTESTFLAGS)
+else
+check-local:: site.exp
+	@echo "*** dejagnu not found.  Make sure runtest is in your PATH, then reconfigure llvm."
+endif
 
 clean::
 	$(RM) -rf `find $(LLVM_OBJ_ROOT)/test/Regression -name Output -type d -print`






More information about the llvm-commits mailing list