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:
parent
6aada750d9
commit
63a5ddcc7c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user