summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-11 01:02:45 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-11 01:02:45 +0000
commitb18ec660cc50164d1764e20326744d01bc87f720 (patch)
tree06f3c42d38e760acf43fc786c50113d0486a7df3
parent41e53fd39b453be9266e832d7534ae0edeaf334c (diff)
downloadllvm-b18ec660cc50164d1764e20326744d01bc87f720.tar.gz
llvm-b18ec660cc50164d1764e20326744d01bc87f720.tar.bz2
llvm-b18ec660cc50164d1764e20326744d01bc87f720.tar.xz
Enable path completion when typing the TESTSUITE= option by allowing the
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
-rw-r--r--test/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 5b03583add..593caafc8a 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -24,6 +24,7 @@ include Makefile.tests
ifdef TESTSUITE
CLEANED_TESTSUITE := $(patsubst %/,%,$(TESTSUITE))
+CLEANED_TESTSUITE := $(patsubst test/%,%,$(CLEANED_TESTSUITE))
RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE)
endif