Peter's keyboard firmware (QMK) https://qmk.fm/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

testlist.mk 546B

1234567891011121314151617
  1. TEST_LIST = $(notdir $(patsubst %/rules.mk,%,$(wildcard $(ROOT_DIR)/tests/*/rules.mk)))
  2. FULL_TESTS := $(TEST_LIST)
  3. include $(ROOT_DIR)/quantum/serial_link/tests/testlist.mk
  4. define VALIDATE_TEST_LIST
  5. ifneq ($1,)
  6. ifeq ($$(findstring -,$1),-)
  7. $$(error Test names can't contain '-', but '$1' does)
  8. else
  9. $$(eval $$(call VALIDATE_TEST_LIST,$$(firstword $2),$$(wordlist 2,9999,$2)))
  10. endif
  11. endif
  12. endef
  13. $(eval $(call VALIDATE_TEST_LIST,$(firstword $(TEST_LIST)),$(wordlist 2,9999,$(TEST_LIST))))