aboutsummaryrefslogtreecommitdiffstats
path: root/testlist.mk
diff options
context:
space:
mode:
authorStephen Christie <undersampled@live.com>2016-09-19 18:05:58 -0400
committerStephen Christie <undersampled@live.com>2016-09-19 18:05:58 -0400
commit57a6828a7a73d7b7c3dd9693e04d6873e2e3d1c2 (patch)
treebdabbdbdd9fd6de500728721d1865058468871e3 /testlist.mk
parentbf2b260429dbc015d49d005065a37441c8f15753 (diff)
parent5f9c2f63ffb2c58db73e67442134be58bfe2c129 (diff)
downloadfirmware-57a6828a7a73d7b7c3dd9693e04d6873e2e3d1c2.tar.gz
firmware-57a6828a7a73d7b7c3dd9693e04d6873e2e3d1c2.tar.bz2
firmware-57a6828a7a73d7b7c3dd9693e04d6873e2e3d1c2.zip
Merge branch 'master' of http://github.com/jackhumbert/qmk_firmware
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