diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-01 00:07:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-01 00:07:58 +0000 |
commit | 03ed625c66745073adf1799f83ec8af651d15d8d (patch) | |
tree | 0877afd8b3d27c8ed82aed4588cfd17aa074acb5 /test/Makefile | |
parent | f76d180c9595d34641f4b5d2fbba2f2c175197d8 (diff) | |
download | external_llvm-03ed625c66745073adf1799f83ec8af651d15d8d.zip external_llvm-03ed625c66745073adf1799f83ec8af651d15d8d.tar.gz external_llvm-03ed625c66745073adf1799f83ec8af651d15d8d.tar.bz2 |
If dejagnu is not found, tell the user instead of bombing out with an
obscure error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 5 |
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` |