diff options
-rw-r--r-- | clang/test/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Makefile b/clang/test/Makefile index 13cbfe6b3ce..3fb103effc7 100644 --- a/clang/test/Makefile +++ b/clang/test/Makefile @@ -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 |