summaryrefslogtreecommitdiffstats
path: root/testlist.mk
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-08-29 01:50:06 +0200
committerIBNobody <ibnobody@gmail.com>2016-08-29 01:50:06 +0200
commit6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea (patch)
tree50cd382df7dac58057c958f62732174cf0dfe920 /testlist.mk
parent9263ade0fbdde6431fb5c7f26970754c5c7c2963 (diff)
parent6d1e916851daa7bcbd8ef31b6fbc73cb369ef1f0 (diff)
downloadqmk_firmware-6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea.tar.gz
qmk_firmware-6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea.tar.xz
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
Diffstat (limited to 'testlist.mk')
-rw-r--r--testlist.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/testlist.mk b/testlist.mk
new file mode 100644
index 000000000..1884d6d3f
--- /dev/null
+++ b/testlist.mk
@@ -0,0 +1,13 @@
+include $(ROOT_DIR)/quantum/serial_link/tests/testlist.mk
+
+define VALIDATE_TEST_LIST
+ ifneq ($1,)
+ ifeq ($$(findstring -,$1),-)
+ $$(error Test names can't contain '-', but '$1' does)
+ else
+ $$(eval $$(call VALIDATE_TEST_LIST,$$(firstword $2),$$(wordlist 2,9999,$2)))
+ endif
+ endif
+endef
+
+$(eval $(call VALIDATE_TEST_LIST,$(firstword $(TEST_LIST)),$(wordlist 2,9999,$(TEST_LIST)))) \ No newline at end of file