From 7a9851b31c369d3788ff6df5ec8a5dd6e8072bf6 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 23 Apr 2022 16:54:36 +0200 Subject: [PATCH 1/2] tests/cpp_ext: add Kconfig support --- tests/cpp_ext/app.config.test | 3 +++ tests/cpp_ext/external_modules/module/Kconfig | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/cpp_ext/app.config.test create mode 100644 tests/cpp_ext/external_modules/module/Kconfig diff --git a/tests/cpp_ext/app.config.test b/tests/cpp_ext/app.config.test new file mode 100644 index 000000000000..c841e3260a7f --- /dev/null +++ b/tests/cpp_ext/app.config.test @@ -0,0 +1,3 @@ +CONFIG_MODULE_CPP=y +CONFIG_MODULE_LIBSTDCPP=y +CONFIG_MODULE_MODULE=y diff --git a/tests/cpp_ext/external_modules/module/Kconfig b/tests/cpp_ext/external_modules/module/Kconfig new file mode 100644 index 000000000000..84df314513c3 --- /dev/null +++ b/tests/cpp_ext/external_modules/module/Kconfig @@ -0,0 +1,12 @@ +# Copyright (C) 2022 Inria +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MODULE + bool "Module" + depends on TEST_KCONFIG + select HAS_CPP + select HAS_LIBSTDCPP From 35643dcd5862421da9436759659efc7a4d99b192 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 23 Apr 2022 16:54:45 +0200 Subject: [PATCH 2/2] tests/cpp_exclude: add Kconfig support --- tests/cpp_exclude/app.config.test | 3 +++ .../external_modules/module_exclude/Kconfig | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/cpp_exclude/app.config.test create mode 100644 tests/cpp_exclude/external_modules/module_exclude/Kconfig diff --git a/tests/cpp_exclude/app.config.test b/tests/cpp_exclude/app.config.test new file mode 100644 index 000000000000..8981ebc1b367 --- /dev/null +++ b/tests/cpp_exclude/app.config.test @@ -0,0 +1,3 @@ +CONFIG_MODULE_CPP=y +CONFIG_MODULE_LIBSTDCPP=y +CONFIG_MODULE_MODULE_EXCLUDE=y diff --git a/tests/cpp_exclude/external_modules/module_exclude/Kconfig b/tests/cpp_exclude/external_modules/module_exclude/Kconfig new file mode 100644 index 000000000000..6b7765248ba7 --- /dev/null +++ b/tests/cpp_exclude/external_modules/module_exclude/Kconfig @@ -0,0 +1,12 @@ +# Copyright (C) 2022 Inria +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MODULE_EXCLUDE + bool "Exclude module" + depends on TEST_KCONFIG + select HAS_CPP + select HAS_LIBSTDCPP