Skip to content

Commit cbaa437

Browse files
committed
tests: libcxx: Add LLVM libc++/picolibc test
This commit adds a new C++ standard library test variant that builds with Picolibc and LLVM C++ Standard Library aka. libc++ on the supported toolchains (e.g. LLVM Embedded Toolchain for Arm and Zephyr SDK LLVM). Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent aee7831 commit cbaa437

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/lib/cpp/libcxx/testcase.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
tests:
2+
# GNU C++ Standard Library (libstdc++)
23
cpp.libcxx.glibcxx.newlib:
34
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_NEWLIB == 1
45
toolchain_exclude: xcc
@@ -34,13 +35,27 @@ tests:
3435
- CONFIG_CPP_EXCEPTIONS=y
3536
integration_platforms:
3637
- mps2/an385
38+
# LLVM C++ Standard Library (libc++)
39+
cpp.libcxx.libcxx.picolibc:
40+
filter: TOOLCHAIN_HAS_LIBCXX == 1 and TOOLCHAIN_HAS_PICOLIBC == 1
41+
toolchain_exclude: xcc
42+
tags: cpp
43+
timeout: 60
44+
extra_configs:
45+
- CONFIG_PICOLIBC=y
46+
- CONFIG_LIBCXX_LIBCPP=y
47+
- CONFIG_CPP_EXCEPTIONS=y
48+
integration_platforms:
49+
- mps2/an385
50+
# ARC MWDT C++ Standard Library
3751
cpp.libcxx.arcmwdtlib:
3852
toolchain_allow: arcmwdt
3953
min_flash: 54
4054
tags: cpp
4155
extra_configs:
4256
- CONFIG_ARCMWDT_LIBC=y
4357
- CONFIG_ARCMWDT_LIBCPP=y
58+
# Host C++ Standard Library
4459
cpp.libcxx.host:
4560
arch_allow: posix
4661
tags: cpp

0 commit comments

Comments
 (0)