summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-06-16 21:38:34 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-06-18 21:10:42 +0300
commit8674f9c466906c18349490f954c84e501fe3ccb6 (patch)
tree106bfddddf33107ca4ed18983e2972c1c5a9c544
parent7424261dae180d1cc0e4e46b4ee2d51ef5524e0a (diff)
Make sure config.h is included
-rw-r--r--build_full_test.mk1
-rw-r--r--build_test.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/build_full_test.mk b/build_full_test.mk
index 5b4685a91a..8b04cc3a4f 100644
--- a/build_full_test.mk
+++ b/build_full_test.mk
@@ -20,3 +20,4 @@ TEST_PATH=tests/$(TEST)
$(TEST)_SRC=$(TEST_PATH)/test.c $(TMK_COMMON_SRC)
$(TEST)_DEFS=$(TMK_COMMON_DEFS)
+$(TEST)_CONFIG=$(TEST_PATH)/config.h
diff --git a/build_test.mk b/build_test.mk
index 32bb4d8078..4d532e5bd1 100644
--- a/build_test.mk
+++ b/build_test.mk
@@ -50,6 +50,7 @@ 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