]> granicus.if.org Git - clang/commitdiff
Allow 'make TESTDIRS=Sema' in test/ directory for only running a
authorDaniel Dunbar <daniel@zuster.org>
Thu, 28 Aug 2008 23:28:16 +0000 (23:28 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 28 Aug 2008 23:28:16 +0000 (23:28 +0000)
subset of tests.

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

test/Makefile

index d0532e30b606e74a83ba6b199f898c8589e7e578..5d0825b2b622c065c643c396d49d5608b3773d36 100644 (file)
@@ -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)