2022-07-06 04:06:24 +09:00
|
|
|
common:
|
2023-01-03 19:10:35 +00:00
|
|
|
tags: cpp
|
|
|
|
toolchain_exclude: xcc
|
|
|
|
integration_platforms:
|
|
|
|
- mps2_an385
|
|
|
|
- qemu_cortex_a53
|
2022-07-06 04:06:24 +09:00
|
|
|
|
|
|
|
tests:
|
|
|
|
cpp.main.minimal:
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_MINIMAL_LIBC=y
|
|
|
|
cpp.main.newlib:
|
|
|
|
filter: TOOLCHAIN_HAS_NEWLIB == 1
|
|
|
|
min_ram: 32
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_NEWLIB_LIBC=y
|
|
|
|
cpp.main.newlib_nano:
|
|
|
|
filter: TOOLCHAIN_HAS_NEWLIB == 1 and CONFIG_HAS_NEWLIB_LIBC_NANO
|
|
|
|
min_ram: 24
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_NEWLIB_LIBC=y
|
|
|
|
- CONFIG_NEWLIB_LIBC_NANO=y
|
|
|
|
cpp.main.picolibc:
|
2022-10-28 11:50:24 +02:00
|
|
|
tags: picolibc
|
2022-07-06 04:06:24 +09:00
|
|
|
filter: CONFIG_PICOLIBC_SUPPORTED
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_PICOLIBC=y
|
2023-02-28 18:28:21 -08:00
|
|
|
|
|
|
|
# Note: the -std= variants below exclude the host compilers, which
|
|
|
|
# aren't part of the SDK and can't be managed as part of the test
|
|
|
|
# suite. (e.g. as of commit time the g++ used in CI didn't support
|
|
|
|
# C++20/2B and emits a command line error when presented with
|
|
|
|
# -Wno-pointer-sign or -Werror=implicit-int in C++ mode with
|
|
|
|
# -std=c++98)
|
|
|
|
cpp.main.cpp98:
|
2023-03-07 15:09:07 +01:00
|
|
|
arch_exclude: posix
|
2023-02-28 18:28:21 -08:00
|
|
|
build_only: true
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_STD_CPP98=y
|
|
|
|
# Note: no "cpp.main.cpp11" as that's the default standard tested above
|
|
|
|
cpp.main.cpp14:
|
2023-03-07 15:09:07 +01:00
|
|
|
arch_exclude: posix
|
2023-02-28 18:28:21 -08:00
|
|
|
build_only: true
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_STD_CPP14=y
|
|
|
|
cpp.main.cpp17:
|
2023-03-07 15:09:07 +01:00
|
|
|
arch_exclude: posix
|
2023-02-28 18:28:21 -08:00
|
|
|
build_only: true
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_STD_CPP17=y
|
|
|
|
cpp.main.cpp2A:
|
2023-03-07 15:09:07 +01:00
|
|
|
arch_exclude: posix
|
2023-02-28 18:28:21 -08:00
|
|
|
build_only: true
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_STD_CPP2A=y
|
|
|
|
cpp.main.cpp20:
|
2023-03-07 15:09:07 +01:00
|
|
|
arch_exclude: posix
|
2023-02-28 18:28:21 -08:00
|
|
|
build_only: true
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_STD_CPP20=y
|
|
|
|
cpp.main.cpp2B:
|
2023-03-07 15:09:07 +01:00
|
|
|
arch_exclude: posix
|
2023-02-28 18:28:21 -08:00
|
|
|
build_only: true
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_STD_CPP2B=y
|