aboutsummaryrefslogtreecommitdiffstats
path: root/build_full_test.mk
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-18 23:49:38 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-18 23:49:38 +0300
commit36f820be7e80bc8f1f5489373708356cf142c269 (patch)
treecf3561b80650e536a2c41f0e3bb4bc70635b6435 /build_full_test.mk
parente85b1857968d4c0378b9778650c30b9d2bca3ea9 (diff)
downloadqmk_firmware-36f820be7e80bc8f1f5489373708356cf142c269.tar.gz
Add a test fixture
It only initializes QMK once, and clears the matrix after each test.
Diffstat (limited to 'build_full_test.mk')
-rw-r--r--build_full_test.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_full_test.mk b/build_full_test.mk
index 67c1ca5e5..bfd89174d 100644
--- a/build_full_test.mk
+++ b/build_full_test.mk
@@ -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