tests: increase main stack size for x86 with ztest

Some options like stack canaries use more stack space,
and on x86 this is not quite enough for ztest's main
thread stack to be 512 bytes.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-07-29 20:47:42 -07:00 committed by Carles Cufí
commit 7fae2bbc18

View file

@ -148,7 +148,7 @@ config SCHED_CPU_MASK
config MAIN_STACK_SIZE
int "Size of stack for initialization and main thread"
default 2048 if COVERAGE_GCOV
default 512 if ZTEST && !RISCV
default 512 if ZTEST && !(RISCV || X86)
default 1024
help
When the initialization is complete, the thread executing it then