summaryrefslogtreecommitdiff
path: root/tests/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile.inc')
-rw-r--r--tests/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.inc b/tests/Makefile.inc
index ca974a905a..027091c5e6 100644
--- a/tests/Makefile.inc
+++ b/tests/Makefile.inc
@@ -39,6 +39,8 @@ TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER))
TEST_CFLAGS += -std=gnu11 -Os -ffunction-sections -fdata-sections -fno-builtin
+TEST_CFLAGS += -D__TEST__
+
# Checkout Cmocka repository
forgetthis:=$(shell git submodule update --init --checkout 3rdparty/cmocka)