Enable path completion when typing the TESTSUITE= option by allowing the
authorReid Spencer <rspencer@reidspencer.com>
Sat, 11 Nov 2006 01:02:45 +0000 (01:02 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 11 Nov 2006 01:02:45 +0000 (01:02 +0000)
test directory to precede the test suite name. That is, it will strip off
test/ from TESTSUITE which allows path completion from the command line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31662 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 5b03583add1688df2e41a2010589f962170542de..593caafc8acf3281c09d02e74fb24617c42e1b3b 100644 (file)
@@ -24,6 +24,7 @@ include Makefile.tests
 
 ifdef TESTSUITE
 CLEANED_TESTSUITE := $(patsubst %/,%,$(TESTSUITE))
+CLEANED_TESTSUITE := $(patsubst test/%,%,$(CLEANED_TESTSUITE))
 RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE)
 endif