From 702b6843669d624e5cbb88b1917e56ce628c7bb5 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Thu, 21 Jul 2022 18:10:09 +0000 Subject: [PATCH] tests: log_api: increase stack size for the test CONFIG_MAIN_STACK_SIZE was increased for qemu_leon3, but after 15fdee04e3 logging: log_output: Add function for processing input arguments this test started to fail on other platforms as well. Moving the stack size override on the test wide prj.conf seems to make it work correctly again. Signed-off-by: Fabio Baltieri --- tests/subsys/logging/log_api/boards/qemu_leon3.conf | 7 ------- tests/subsys/logging/log_api/prj.conf | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 tests/subsys/logging/log_api/boards/qemu_leon3.conf diff --git a/tests/subsys/logging/log_api/boards/qemu_leon3.conf b/tests/subsys/logging/log_api/boards/qemu_leon3.conf deleted file mode 100644 index 83916fc71b3..00000000000 --- a/tests/subsys/logging/log_api/boards/qemu_leon3.conf +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (c) 2022 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# QEMU crashes during log2_api_immediate_printk_cpp. -# Workaround it by making the main stack larger. -# See #46056. -CONFIG_MAIN_STACK_SIZE=4096 diff --git a/tests/subsys/logging/log_api/prj.conf b/tests/subsys/logging/log_api/prj.conf index 3d4c9b0cc3b..1886b5f96ab 100644 --- a/tests/subsys/logging/log_api/prj.conf +++ b/tests/subsys/logging/log_api/prj.conf @@ -13,3 +13,4 @@ CONFIG_ARCH_LOG_LEVEL_OFF=y CONFIG_LOG_FUNC_NAME_PREFIX_DBG=n CONFIG_LOG_PROCESS_THREAD=n CONFIG_ASSERT=y +CONFIG_MAIN_STACK_SIZE=4096