From 63a5ddcc7cb741e5506badd432d1f98d1aa55d8a Mon Sep 17 00:00:00 2001 From: Peter Bee Date: Wed, 29 Jul 2020 08:54:59 +0000 Subject: [PATCH] testing/cxxtest: increase STACKSIZE to avoid crash The previous version of cxxtest uses a fixed value(4096) for STACKSIZE, insufficient when no optimization options are set(CONFIG_DEBUG_NOOPT). This patch increased the STACKSIZE to CONFIG_DEFAULT_TASK_STACKSIZE for stability and consistency. Change-Id: I45a4806d2cda1583f60a5cf24b98b8df58f377d0 Signed-off-by: Peter Bee --- testing/cxxtest/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/cxxtest/Makefile b/testing/cxxtest/Makefile index ea2af7640..d2bb10a3b 100644 --- a/testing/cxxtest/Makefile +++ b/testing/cxxtest/Makefile @@ -43,7 +43,7 @@ MAINSRC = cxxtest_main.cxx PROGNAME = cxxtest PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 4096 +STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE) MODULE = $(CONFIG_TESTING_CXXTEST) include $(APPDIR)/Application.mk