aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-28 23:28:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-28 23:28:16 +0000
commit852119ea9b8900b109de327a135cdcd6d1761394 (patch)
tree6e4bec7fc87ebd74430c76be8c0b4ff9cbe81fa9
parentfe1ab5e5a7b5eb04d246399f987e3fb5796ef11b (diff)
Allow 'make TESTDIRS=Sema' in test/ directory for only running a
subset of tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55513 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index d0532e30b6..5d0825b2b6 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,8 +1,8 @@
LEVEL = ../../..
include $(LEVEL)/Makefile.common
-# Test in all immediate subdirectories.
-TESTDIRS = $(shell echo $(PROJ_SRC_DIR)/*/)
+# Test in all immediate subdirectories if unset.
+TESTDIRS ?= $(shell echo $(PROJ_SRC_DIR)/*/)
# Only run rewriter tests on darwin.
ifeq ($(OS),Darwin)