Skip to content

Commit a7fe7b3

Browse files
committed
tests: libcxx: Filter libstdc++ tests by TOOLCHAIN_HAS_GLIBCXX
Run libstdc++ tests only using the toolchains that have libstdc++ (i.e. GCC-based toolchain). Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 185ec69 commit a7fe7b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/lib/cpp/libcxx/testcase.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ common:
44
- rx
55
tests:
66
cpp.libcxx.glibcxx.newlib:
7-
filter: TOOLCHAIN_HAS_NEWLIB == 1
7+
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_NEWLIB == 1
88
toolchain_exclude: xcc
99
min_flash: 54
1010
min_ram: 24
@@ -16,7 +16,7 @@ tests:
1616
integration_platforms:
1717
- mps2/an385
1818
cpp.libcxx.glibcxx.newlib_nano:
19-
filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_HAS_NEWLIB_LIBC_NANO
19+
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_HAS_NEWLIB_LIBC_NANO
2020
toolchain_exclude: xcc
2121
min_flash: 54
2222
tags: cpp
@@ -28,7 +28,7 @@ tests:
2828
integration_platforms:
2929
- mps2/an385
3030
cpp.libcxx.glibcxx.picolibc:
31-
filter: TOOLCHAIN_HAS_PICOLIBC == 1
31+
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_PICOLIBC == 1
3232
toolchain_exclude: xcc
3333
tags: cpp
3434
timeout: 60

0 commit comments

Comments
 (0)