aboutsummaryrefslogtreecommitdiffstats
path: root/testlist.mk
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-16 20:21:28 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-18 21:08:23 +0300
commit30f22d450da19c65584e6deb8515a1fa5b074e07 (patch)
tree2838fe9781c2f5ccf4db339c4752ce345714fada /testlist.mk
parent621ae42a6cb9f96b8c02a0094b36daf125c4e6ca (diff)
downloadqmk_firmware-30f22d450da19c65584e6deb8515a1fa5b074e07.tar.gz
Add basic infrastrucure for building full tests
Diffstat (limited to 'testlist.mk')
-rw-r--r--testlist.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/testlist.mk b/testlist.mk
index 1884d6d3f..d949fb3ea 100644
--- a/testlist.mk
+++ b/testlist.mk
@@ -1,3 +1,6 @@
+TEST_LIST = $(notdir $(patsubst %/rules.mk,%,$(wildcard $(ROOT_DIR)/tests/*/rules.mk)))
+FULL_TESTS := $(TEST_LIST)
+
include $(ROOT_DIR)/quantum/serial_link/tests/testlist.mk
define VALIDATE_TEST_LIST
@@ -10,4 +13,5 @@ define VALIDATE_TEST_LIST
endif
endef
+
$(eval $(call VALIDATE_TEST_LIST,$(firstword $(TEST_LIST)),$(wordlist 2,9999,$(TEST_LIST)))) \ No newline at end of file