Skip to content

Commit

Permalink
tests: libcxx: increase ZTEST_STACKSIZE and added platforms for testing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tejlmand authored and galak committed May 27, 2021
1 parent 7d37fe2 commit 08dfe74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/subsys/cpp/libcxx/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/subsys/cpp/libcxx/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 08dfe74

Please sign in to comment.