1
0
Fork 0

Add a test fixture

It only initializes QMK once, and clears the matrix after each test.
This commit is contained in:
Fred Sundvik 2017-06-18 23:49:38 +03:00
parent e85b185796
commit 36f820be7e
6 changed files with 80 additions and 15 deletions

View file

@ -23,7 +23,8 @@ $(TEST)_SRC= \
$(QUANTUM_SRC) \
tests/test_common/matrix.c \
tests/test_common/test_driver.cpp \
tests/test_common/keyboard_report_util.cpp
tests/test_common/keyboard_report_util.cpp \
tests/test_common/test_fixture.cpp
$(TEST)_DEFS=$(TMK_COMMON_DEFS)
$(TEST)_CONFIG=$(TEST_PATH)/config.h
VPATH+=$(TOP_DIR)/tests/test_common