summaryrefslogtreecommitdiff
path: root/tests/console/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/console/Makefile.inc')
-rw-r--r--tests/console/Makefile.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/console/Makefile.inc b/tests/console/Makefile.inc
new file mode 100644
index 0000000000..2218652e9e
--- /dev/null
+++ b/tests/console/Makefile.inc
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+tests-y += routing-with-cbmemcons-test
+tests-y += routing-without-cbmemcons-test
+
+routing-with-cbmemcons-test-srcs += tests/console/routing-test.c
+routing-with-cbmemcons-test-srcs += src/console/init.c
+routing-with-cbmemcons-test-config += CONFIG_CONSOLE_CBMEM=1
+routing-with-cbmemcons-test-mocks += get_log_level
+
+routing-without-cbmemcons-test-srcs += tests/console/routing-test.c
+routing-without-cbmemcons-test-srcs += src/console/init.c
+routing-without-cbmemcons-test-config += CONFIG_CONSOLE_CBMEM=0
+routing-without-cbmemcons-test-mocks += get_log_level