diff --git a/clang/test/Makefile b/clang/test/Makefile index d0532e30b606..5d0825b2b622 100644 --- a/clang/test/Makefile +++ b/clang/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)