Skip to content

Commit 3cb0c74

Browse files
committed
subsys/cpp: Use toolchain picolibc for C++ tests
The picolibc module is not supported for C++, so make sure the toolchain has C++ support and then use it for the tests. Signed-off-by: Keith Packard <[email protected]>
1 parent 4c4632e commit 3cb0c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/subsys/cpp/cxx/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ tests:
2222
- CONFIG_NEWLIB_LIBC_NANO=y
2323
cpp.main.picolibc:
2424
tags: picolibc
25-
filter: CONFIG_PICOLIBC_SUPPORTED
25+
filter: (TOOLCHAIN_HAS_PICOLIBC == 1) and CONFIG_PICOLIBC_SUPPORTED
2626
extra_configs:
2727
- CONFIG_PICOLIBC=y

0 commit comments

Comments
 (0)