]> granicus.if.org Git - clang/commitdiff
Support 'make test TESTSUITE=CodeGen', etc.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 4 Sep 2009 17:40:27 +0000 (17:40 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 4 Sep 2009 17:40:27 +0000 (17:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81011 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 13cbfe6b3ce33fa4c9606bfd3273b0fff057caff..3fb103effc7297579b08967132f73b83a6f9aa08 100644 (file)
@@ -2,7 +2,11 @@ LEVEL = ../../..
 include $(LEVEL)/Makefile.common
 
 # Test in all immediate subdirectories if unset.
+ifdef TESTSUITE
+TESTDIRS := $(TESTSUITE:%=$(PROJ_SRC_DIR)/%)
+else
 TESTDIRS ?= $(PROJ_SRC_DIR)
+endif
 
 ifndef TESTARGS
 ifdef VERBOSE