X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=build_full_test.mk;h=170020b968550ed7428e03578d89bdd17b753214;hb=4c1164c469a103981478222b21ef5ffaa364448d;hp=8b04cc3a4f960e3152d6bbac45be9e7a0f2fbd7a;hpb=8674f9c466906c18349490f954c84e501fe3ccb6;p=qmk_firmware.git diff --git a/build_full_test.mk b/build_full_test.mk index 8b04cc3a4..170020b96 100644 --- a/build_full_test.mk +++ b/build_full_test.mk @@ -13,11 +13,21 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -include tests/$(TEST)/rules.mk #include $(TMK_PATH)/protocol.mk TEST_PATH=tests/$(TEST) -$(TEST)_SRC=$(TEST_PATH)/test.c $(TMK_COMMON_SRC) -$(TEST)_DEFS=$(TMK_COMMON_DEFS) +$(TEST)_SRC= \ + $(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)_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 \ No newline at end of file