diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-27 00:01:27 +0300 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-08 21:59:51 -0400 |
commit | 0256cd8ccab841a8a927f6ab0ae02ebf3ca98a96 (patch) | |
tree | 3eeae4d0537d4bb1fde26ada6ff98099e3844dcd | |
parent | 7d7996278571334d04e4a05445ffa4bf341806a2 (diff) | |
download | qmk_firmware-0256cd8ccab841a8a927f6ab0ae02ebf3ca98a96.tar.gz |
Build all cpp files in test directories
-rw-r--r-- | build_full_test.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_full_test.mk b/build_full_test.mk index 66ec48a2d..a13628ee7 100644 --- a/build_full_test.mk +++ b/build_full_test.mk @@ -18,7 +18,6 @@ TEST_PATH=tests/$(TEST) $(TEST)_SRC= \ - $(TEST_PATH)/test.cpp \ $(TEST_PATH)/keymap.c \ $(TMK_COMMON_SRC) \ $(QUANTUM_SRC) \ @@ -26,6 +25,8 @@ $(TEST)_SRC= \ 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) $(TEST)_CONFIG=$(TEST_PATH)/config.h VPATH+=$(TOP_DIR)/tests/test_common |