Skip to content

Commit 5bf489d

Browse files
stephanosiokeith-packard
authored andcommitted
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 <root@stephanos.io>
1 parent 32d703f commit 5bf489d

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
@@ -3,6 +3,7 @@ common:
33
# see #89839
44
- rx
55
tests:
6+
# GNU C++ Standard Library (libstdc++)
67
cpp.libcxx.glibcxx.newlib:
78
filter: TOOLCHAIN_HAS_GLIBCXX == 1 and TOOLCHAIN_HAS_NEWLIB == 1
89
toolchain_exclude: xcc
@@ -38,13 +39,27 @@ tests:
3839
- CONFIG_CPP_EXCEPTIONS=y
3940
integration_platforms:
4041
- mps2/an385
42+
# LLVM C++ Standard Library (libc++)
43+
cpp.libcxx.libcxx.picolibc:
44+
filter: TOOLCHAIN_HAS_LIBCXX == 1 and TOOLCHAIN_HAS_PICOLIBC == 1
45+
toolchain_exclude: xcc
46+
tags: cpp
47+
timeout: 60
48+
extra_configs:
49+
- CONFIG_PICOLIBC=y
50+
- CONFIG_LIBCXX_LIBCPP=y
51+
- CONFIG_CPP_EXCEPTIONS=y
52+
integration_platforms:
53+
- mps2/an385
54+
# ARC MWDT C++ Standard Library
4155
cpp.libcxx.arcmwdtlib:
4256
toolchain_allow: arcmwdt
4357
min_flash: 54
4458
tags: cpp
4559
extra_configs:
4660
- CONFIG_ARCMWDT_LIBC=y
4761
- CONFIG_ARCMWDT_LIBCPP=y
62+
# Host C++ Standard Library
4863
cpp.libcxx.host:
4964
arch_allow: posix
5065
tags: cpp

0 commit comments

Comments
 (0)