Dejagnu doesn't work if you do TESTSUITE=.../

You can't pass the trailing / into Dejagnu, so make the makefile strip it off


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-12-12 21:39:49 +00:00
parent 869f45937b
commit 60bdce6fd0

View File

@ -23,7 +23,8 @@ include Makefile.tests
#===------------------------------------------------------------------------===#
ifdef TESTSUITE
RUNTESTFLAGS := --tool $(TESTSUITE)
CLEANED_TESTSUITE := $(patsubst %/,%,$(TESTSUITE))
RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE)
endif
check-local:: site.exp