Skip to content

Commit 0603637

Browse files
benediktibkkartben
authored andcommitted
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>
1 parent 2382d23 commit 0603637

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/misc/test_build/testcase.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,11 @@ tests:
2828
- native_sim
2929
extra_configs:
3030
- CONFIG_KERNEL_BIN_NAME="A_kconfig_value_with_a_utf8_char_in_it_Bøe_"
31+
buildsystem.lto.picolibc_module:
32+
build_only: true
33+
platform_allow:
34+
- nucleo_f746zg
35+
extra_configs:
36+
- CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
37+
- CONFIG_LTO=y
38+
- CONFIG_PICOLIBC_USE_MODULE=y

0 commit comments

Comments
 (0)