From 08dfe74c15a8e9d5afa3aa3cb0713e5d894018fa Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Thu, 27 May 2021 11:22:31 +0200 Subject: [PATCH] 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 --- tests/subsys/cpp/libcxx/prj.conf | 2 +- tests/subsys/cpp/libcxx/testcase.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/subsys/cpp/libcxx/prj.conf b/tests/subsys/cpp/libcxx/prj.conf index b07b5f571b1..5bb9a62c4a0 100644 --- a/tests/subsys/cpp/libcxx/prj.conf +++ b/tests/subsys/cpp/libcxx/prj.conf @@ -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 diff --git a/tests/subsys/cpp/libcxx/testcase.yaml b/tests/subsys/cpp/libcxx/testcase.yaml index 5b5e8744820..4336a79169d 100644 --- a/tests/subsys/cpp/libcxx/testcase.yaml +++ b/tests/subsys/cpp/libcxx/testcase.yaml @@ -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