From 60bdce6fd0687b2dad96079500adea4be76c6505 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 12 Dec 2004 21:39:49 +0000 Subject: [PATCH] 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 --- test/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 5aa74d376b0..7e3d1290f50 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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