aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-05 06:55:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-05 06:55:24 +0000
commit6516813f776c51e3df05b1c6b5d4ffc94d9eb31a (patch)
tree5ce0006b0152a96cca90ae73f7c63fda50f8c125
parent03e777ec50386f88a55f8fcf6e94bb7f9840b50d (diff)
Add EXTRA_TESTDIRS variable for specifying additional test directories.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86122 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index fdb9d8f713..a67fcbdc80 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -11,6 +11,9 @@ endif
# 'lit' wants objdir paths, so it will pick up the lit.site.cfg.
TESTDIRS := $(TESTDIRS:$(PROJ_SRC_DIR)%=$(PROJ_OBJ_DIR)%)
+# Allow EXTRA_TESTDIRS to provide additional test directories.
+TESTDIRS += $(EXTRA_TESTDIRS)
+
ifndef TESTARGS
ifdef VERBOSE
TESTARGS = -v