Look for site.exp in the build directory, not the source directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2007-04-16 16:45:12 +00:00
parent 0829a30f26
commit 64609d341e

View File

@ -48,7 +48,7 @@ CLEANED_TESTONE := $(patsubst test/%,%,$(CLEANED_TESTONE))
SUBDIR := $(shell dirname $(CLEANED_TESTONE))
TESTPATH := $(LLVM_SRC_ROOT)/test/$(CLEANED_TESTONE)
check-one: site.exp $(TCLSH)
$(Verb)( echo "source $(LLVM_SRC_ROOT)/test/site.exp" ; \
$(Verb)( echo "source $(LLVM_OBJ_ROOT)/test/site.exp" ; \
echo "set subdir $(SUBDIR)" ; \
echo "proc pass { msg } { puts \"PASS: \$$msg\" } "; \
echo "proc fail { msg } { puts \"FAIL: \$$msg\" }" ; \