aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 13cbfe6b3c..3fb103effc 100644
--- a/test/Makefile
+++ b/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