summaryrefslogtreecommitdiff
path: root/build_full_test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build_full_test.mk')
-rw-r--r--build_full_test.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/build_full_test.mk b/build_full_test.mk
index bfd89174de..170020b968 100644
--- a/build_full_test.mk
+++ b/build_full_test.mk
@@ -18,13 +18,16 @@
TEST_PATH=tests/$(TEST)
$(TEST)_SRC= \
- $(TEST_PATH)/test.cpp \
+ $(TEST_PATH)/keymap.c \
$(TMK_COMMON_SRC) \
$(QUANTUM_SRC) \
+ $(SRC) \
tests/test_common/matrix.c \
tests/test_common/test_driver.cpp \
tests/test_common/keyboard_report_util.cpp \
tests/test_common/test_fixture.cpp
-$(TEST)_DEFS=$(TMK_COMMON_DEFS)
+$(TEST)_SRC += $(patsubst $(ROOTDIR)/%,%,$(wildcard $(TEST_PATH)/*.cpp))
+
+$(TEST)_DEFS=$(TMK_COMMON_DEFS) $(OPT_DEFS)
$(TEST)_CONFIG=$(TEST_PATH)/config.h
-VPATH+=$(TOP_DIR)/tests/test_common
+VPATH+=$(TOP_DIR)/tests/test_common \ No newline at end of file