From 3c55048c763fbf4c210eb9e0b5486e8f2379303d Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 6 Jun 2025 11:40:41 +0200 Subject: [PATCH] unit_testing: Fix NATIVE_APPLICATION kconfig dependency NATIVE_APPLICATION is deprecated, let's not use it, let's use instead NATIVE_BUILD. unit_testing is not really meant to be covered by NATIVE_APPLICATION, or NATIVE_BUILD for that matter, as these options are meant for POSIX arch based targets. Still, some kconfig options will default to something which will also be incompatible with unit_testing (primarily CONFIG_PICOLIBC=y) if we don't set at least NATIVE_BUILD, which would cause some unit tests to fail. So let's select NATIVE_BUILD to avoid needing to add extra dependencies on the libCs options. Signed-off-by: Alberto Escolar Piedras --- .../boards/unit_testing/unit_testing/Kconfig.unit_testing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/testsuite/boards/unit_testing/unit_testing/Kconfig.unit_testing b/subsys/testsuite/boards/unit_testing/unit_testing/Kconfig.unit_testing index 2b10e976b8c..52947c1905f 100644 --- a/subsys/testsuite/boards/unit_testing/unit_testing/Kconfig.unit_testing +++ b/subsys/testsuite/boards/unit_testing/unit_testing/Kconfig.unit_testing @@ -5,6 +5,6 @@ config BOARD_UNIT_TESTING bool "Unit testing board" select HAS_COVERAGE_SUPPORT - select NATIVE_APPLICATION + select NATIVE_BUILD help Board for unit testing