diff options
Diffstat (limited to 'build_full_test.mk')
| -rw-r--r-- | build_full_test.mk | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/build_full_test.mk b/build_full_test.mk index f8030cb06..4cd1ac61b 100644 --- a/build_full_test.mk +++ b/build_full_test.mk | |||
| @@ -13,21 +13,24 @@ | |||
| 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | 15 | ||
| 16 | #include $(TMK_PATH)/protocol.mk | 16 | $(TEST)_INC := \ |
| 17 | tests\test_common\common_config.h | ||
| 17 | 18 | ||
| 18 | TEST_PATH=tests/$(TEST) | 19 | $(TEST)_SRC := \ |
| 19 | |||
| 20 | $(TEST)_SRC= \ | ||
| 21 | $(TEST_PATH)/keymap.c \ | ||
| 22 | $(TMK_COMMON_SRC) \ | 20 | $(TMK_COMMON_SRC) \ |
| 23 | $(QUANTUM_SRC) \ | 21 | $(QUANTUM_SRC) \ |
| 24 | $(SRC) \ | 22 | $(SRC) \ |
| 23 | tests/test_common/keymap.c \ | ||
| 25 | tests/test_common/matrix.c \ | 24 | tests/test_common/matrix.c \ |
| 26 | tests/test_common/test_driver.cpp \ | 25 | tests/test_common/test_driver.cpp \ |
| 27 | tests/test_common/keyboard_report_util.cpp \ | 26 | tests/test_common/keyboard_report_util.cpp \ |
| 28 | tests/test_common/test_fixture.cpp | 27 | tests/test_common/test_fixture.cpp \ |
| 29 | $(TEST)_SRC += $(patsubst $(ROOTDIR)/%,%,$(wildcard $(TEST_PATH)/*.cpp)) | 28 | tests/test_common/test_keymap_key.cpp \ |
| 29 | tests/test_common/test_logger.cpp \ | ||
| 30 | $(patsubst $(ROOTDIR)/%,%,$(wildcard $(TEST_PATH)/*.cpp)) | ||
| 31 | |||
| 32 | $(TEST)_DEFS := $(TMK_COMMON_DEFS) $(OPT_DEFS) | ||
| 33 | |||
| 34 | $(TEST)_CONFIG := $(TEST_PATH)/config.h | ||
| 30 | 35 | ||
| 31 | $(TEST)_DEFS=$(TMK_COMMON_DEFS) $(OPT_DEFS) | 36 | VPATH += $(TOP_DIR)/tests/test_common \ No newline at end of file |
| 32 | $(TEST)_CONFIG=$(TEST_PATH)/config.h | ||
| 33 | VPATH+=$(TOP_DIR)/tests/test_common | ||
