summaryrefslogtreecommitdiffstats
path: root/build_test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build_test.mk')
-rw-r--r--build_test.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/build_test.mk b/build_test.mk
index ee15a45726..cac2cba509 100644
--- a/build_test.mk
+++ b/build_test.mk
@@ -40,13 +40,23 @@ VPATH +=\
all: elf
VPATH += $(COMMON_VPATH)
+PLATFORM:=TEST
+ifneq ($(filter $(FULL_TESTS),$(TEST)),)
+include tests/$(TEST)/rules.mk
+endif
+
+include common_features.mk
include $(TMK_PATH)/common.mk
include $(QUANTUM_PATH)/serial_link/tests/rules.mk
+ifneq ($(filter $(FULL_TESTS),$(TEST)),)
+include build_full_test.mk
+endif
$(TEST_OBJ)/$(TEST)_SRC := $($(TEST)_SRC)
$(TEST_OBJ)/$(TEST)_INC := $($(TEST)_INC) $(VPATH) $(GTEST_INC)
$(TEST_OBJ)/$(TEST)_DEFS := $($(TEST)_DEFS)
+$(TEST_OBJ)/$(TEST)_CONFIG := $($(TEST)_CONFIG)
include $(TMK_PATH)/native.mk
include $(TMK_PATH)/rules.mk