OSDN Git Service

Dejagnu doesn't work if you do TESTSUITE=.../
authorChris Lattner <sabre@nondot.org>
Sun, 12 Dec 2004 21:39:49 +0000 (21:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 12 Dec 2004 21:39:49 +0000 (21:39 +0000)
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

test/Makefile

index 5aa74d3..7e3d129 100644 (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