tests: libcxx: increase ZTEST_STACKSIZE and added platforms for testing

Increasing ZTEST_STACKSIZE to 4096.
This ensures that the riscv32 platforms can succesfully execute the
C++ exception test cases.

Also add the following platforms to allow list:
- qemu_arc_em
- qemu_arc_hs
- qemu_cortex_m0
- qemu_cortex_m3
- qemu_cortex_r5
- qemu_riscv32
- qemu_x86
- qemu_xtensa

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2021-05-27 11:22:31 +02:00 committed by Kumar Gala
commit 08dfe74c15
2 changed files with 3 additions and 3 deletions

View file

@ -3,4 +3,4 @@ CONFIG_CPLUSPLUS=y
CONFIG_LIB_CPLUSPLUS=y
CONFIG_STD_CPP17=y
CONFIG_ZTEST=y
CONFIG_ZTEST_STACKSIZE=2048
CONFIG_ZTEST_STACKSIZE=4096

View file

@ -10,10 +10,10 @@ tests:
tags: cpp
cpp.libcxx.exceptions:
# FIXME: change when issue is resolved #32448
platform_allow: mps2_an385
platform_allow: mps2_an385 qemu_arc_em qemu_arc_hs qemu_cortex_m0 qemu_cortex_m3 qemu_cortex_r5 qemu_riscv32 qemu_x86 qemu_xtensa
toolchain_exclude: xcc
min_flash: 54
tags: cpp
timeout: 5
timeout: 30
extra_configs:
- CONFIG_EXCEPTIONS=y