tests: misc: test_build: add testcase for LTO with picolibc module

Add a testcase which builds with LTO and the picolibc module.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2024-11-20 21:43:02 +01:00 committed by Benjamin Cabé
parent 2382d239d7
commit 0603637fc7

View file

@ -28,3 +28,11 @@ tests:
- native_sim - native_sim
extra_configs: extra_configs:
- CONFIG_KERNEL_BIN_NAME="A_kconfig_value_with_a_utf8_char_in_it_Bøe_" - CONFIG_KERNEL_BIN_NAME="A_kconfig_value_with_a_utf8_char_in_it_Bøe_"
buildsystem.lto.picolibc_module:
build_only: true
platform_allow:
- nucleo_f746zg
extra_configs:
- CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
- CONFIG_LTO=y
- CONFIG_PICOLIBC_USE_MODULE=y