X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=build_full_test.mk;h=170020b968550ed7428e03578d89bdd17b753214;hb=c02de0932ad9a546727bd7097ba33c5b17aebd98;hp=0405b9d0f8a67379ba327db430aa2dd704d6fb53;hpb=30f22d450da19c65584e6deb8515a1fa5b074e07;p=qmk_firmware.git
diff --git a/build_full_test.mk b/build_full_test.mk
index 0405b9d0f..170020b96 100644
--- a/build_full_test.mk
+++ b/build_full_test.mk
@@ -11,4 +11,23 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
\ No newline at end of file
+# along with this program. If not, see .
+
+#include $(TMK_PATH)/protocol.mk
+
+TEST_PATH=tests/$(TEST)
+
+$(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