Skip to content

Commit 763b2da

Browse files
committed
tests/libcxx: Exclude native_sim from picolibc/newlib + libstdc++ tests
While we use the Zephyr SDK, which declares that it supports picolibc and libstdc++, when building native_sim, we'll be using the native C compiler which means using the picolibc module and not supporting libstdc++. Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent d06d977 commit 763b2da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/lib/cpp/libcxx/testcase.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ tests:
77
cpp.libcxx.glibcxx.newlib:
88
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_NEWLIB == 1
99
toolchain_exclude: xcc
10+
platform_exclude: native_sim
1011
min_flash: 54
1112
min_ram: 24
1213
tags: cpp
@@ -19,6 +20,7 @@ tests:
1920
cpp.libcxx.glibcxx.newlib_nano:
2021
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_HAS_NEWLIB_LIBC_NANO
2122
toolchain_exclude: xcc
23+
platform_exclude: native_sim
2224
min_flash: 54
2325
tags: cpp
2426
timeout: 60
@@ -31,6 +33,7 @@ tests:
3133
cpp.libcxx.glibcxx.picolibc:
3234
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_PICOLIBC == 1
3335
toolchain_exclude: xcc
36+
platform_exclude: native_sim
3437
tags: cpp
3538
timeout: 60
3639
extra_configs:
@@ -43,6 +46,7 @@ tests:
4346
cpp.libcxx.libcxx.picolibc:
4447
filter: TOOLCHAIN_HAS_LIBCXX == 1 and TOOLCHAIN_HAS_PICOLIBC == 1
4548
toolchain_exclude: xcc
49+
platform_exclude: native_sim
4650
tags: cpp
4751
timeout: 60
4852
extra_configs:

0 commit comments

Comments
 (0)