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 <bijunda1@xiaomi.com>
This commit is contained in:
Peter Bee 2020-07-29 08:54:59 +00:00 committed by Abdelatif Guettouche
parent 6aada750d9
commit 63a5ddcc7c

View File

@ -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