Add a test fixture
It only initializes QMK once, and clears the matrix after each test.
This commit is contained in:
parent
e85b185796
commit
36f820be7e
6 changed files with 80 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue