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 <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2025-06-06 11:40:41 +02:00 committed by Benjamin Cabé
commit 3c55048c76

View file

@ -5,6 +5,6 @@
config BOARD_UNIT_TESTING config BOARD_UNIT_TESTING
bool "Unit testing board" bool "Unit testing board"
select HAS_COVERAGE_SUPPORT select HAS_COVERAGE_SUPPORT
select NATIVE_APPLICATION select NATIVE_BUILD
help help
Board for unit testing Board for unit testing