Skip to content

Commit

Permalink
Merge pull request #17994 from aabadie/pr/tests/cpp_kconfig
Browse files Browse the repository at this point in the history
tests/{cpp_ext, cpp_exclude}: model in kconfig
  • Loading branch information
aabadie authored May 10, 2022
2 parents beb65f8 + 35643dc commit 7e13424
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cpp_exclude/app.config.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_MODULE_CPP=y
CONFIG_MODULE_LIBSTDCPP=y
CONFIG_MODULE_MODULE_EXCLUDE=y
12 changes: 12 additions & 0 deletions tests/cpp_exclude/external_modules/module_exclude/Kconfig
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions tests/cpp_ext/app.config.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_MODULE_CPP=y
CONFIG_MODULE_LIBSTDCPP=y
CONFIG_MODULE_MODULE=y
12 changes: 12 additions & 0 deletions tests/cpp_ext/external_modules/module/Kconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7e13424

Please sign in to comment.