Skip to content

Commit 9a5cbe3

Browse files
stephanosiocfriedt
authored andcommitted
tests: cpp: cxx: Test with various types of libc
This commit changes the C++ subsystem test, which previously was only being run with the minimal libc, to be run with all the mainstream C libraries (minimal libc, newlib, newlib-nano, picolibc). Signed-off-by: Stephanos Ioannidis <[email protected]> (cherry picked from commit 03f0693)
1 parent 5b7b15f commit 9a5cbe3

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

tests/subsys/cpp/cxx/testcase.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1-
tests:
2-
cpp.main:
1+
common:
2+
tags: cpp
33
integration_platforms:
44
- mps2_an385
5-
tags: cpp
5+
6+
tests:
7+
cpp.main.minimal:
8+
extra_configs:
9+
- CONFIG_MINIMAL_LIBC=y
10+
cpp.main.newlib:
11+
filter: TOOLCHAIN_HAS_NEWLIB == 1
12+
min_ram: 32
13+
extra_configs:
14+
- CONFIG_NEWLIB_LIBC=y
15+
- CONFIG_NEWLIB_LIBC_NANO=n
16+
cpp.main.newlib_nano:
17+
filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_HAS_NEWLIB_LIBC_NANO
18+
min_ram: 24
19+
extra_configs:
20+
- CONFIG_NEWLIB_LIBC=y
21+
- CONFIG_NEWLIB_LIBC_NANO=y

0 commit comments

Comments
 (0)