From 7d7996278571334d04e4a05445ffa4bf341806a2 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Mon, 26 Jun 2017 23:56:01 +0300 Subject: Move test keymap to keymap.c --- build_full_test.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'build_full_test.mk') diff --git a/build_full_test.mk b/build_full_test.mk index bfd89174de..66ec48a2d3 100644 --- a/build_full_test.mk +++ b/build_full_test.mk @@ -19,6 +19,7 @@ TEST_PATH=tests/$(TEST) $(TEST)_SRC= \ $(TEST_PATH)/test.cpp \ + $(TEST_PATH)/keymap.c \ $(TMK_COMMON_SRC) \ $(QUANTUM_SRC) \ tests/test_common/matrix.c \ -- cgit v1.2.3 From 0256cd8ccab841a8a927f6ab0ae02ebf3ca98a96 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Tue, 27 Jun 2017 00:01:27 +0300 Subject: Build all cpp files in test directories --- build_full_test.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build_full_test.mk') diff --git a/build_full_test.mk b/build_full_test.mk index 66ec48a2d3..a13628ee76 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 -- cgit v1.2.3 From 4e69a8bda6c4003c6b9e33de7db89fe073c970f5 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Sat, 1 Jul 2017 22:25:06 +0300 Subject: Add basic timing support, and SFT_T tests Also expose some bugs... --- build_full_test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_full_test.mk') diff --git a/build_full_test.mk b/build_full_test.mk index a13628ee76..94356d5752 100644 --- a/build_full_test.mk +++ b/build_full_test.mk @@ -29,4 +29,4 @@ $(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 +VPATH+=$(TOP_DIR)/tests/test_common \ No newline at end of file -- cgit v1.2.3 From a5b0f4de35608431f235f3da0a4e087db6671300 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Thu, 20 Jul 2017 15:40:42 +0300 Subject: Add SRC and OPT_DEFS when building tests --- build_full_test.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build_full_test.mk') diff --git a/build_full_test.mk b/build_full_test.mk index 94356d5752..170020b968 100644 --- a/build_full_test.mk +++ b/build_full_test.mk @@ -21,12 +21,13 @@ $(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) +$(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 -- cgit v1.2.3