Commit | Line | Data |
---|---|---|
6d7cd639 FS |
1 | include $(ROOT_DIR)/quantum/serial_link/tests/testlist.mk |
2 | ||
3 | define VALIDATE_TEST_LIST | |
4 | ifneq ($1,) | |
5 | ifeq ($$(findstring -,$1),-) | |
6 | $$(error Test names can't contain '-', but '$1' does) | |
7 | else | |
8 | $$(eval $$(call VALIDATE_TEST_LIST,$$(firstword $2),$$(wordlist 2,9999,$2))) | |
9 | endif | |
10 | endif | |
11 | endef | |
12 | ||
13 | $(eval $(call VALIDATE_TEST_LIST,$(firstword $(TEST_LIST)),$(wordlist 2,9999,$(TEST_LIST)))) |