aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index f06d389..5b03583 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -31,9 +31,14 @@ ifndef RUNLLVM2CPP
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`