zephyr/tests/kernel
Andrew Boie 9485172677 tests: stackprot: don't set main stack size
This test uses ztest anyway, the default should be fine
just like any other test running under ztest.

k_thread_create() uses a lot of stack, and the main
stack size is very small if ztest is enabled. Do it in
another ztest task instead.

We don't need to mess with the main thread's priority,
just have the alt thread run cooperatively.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-05-03 13:30:16 -07:00
..
arm_irq_vector_table tests: adjust stack size for mps2_an385's coverage test 2019-04-11 17:59:39 -04:00
arm_runtime_nmi license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
boot_page_table license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
common license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
context license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
critical tests: add nsim special cases for two tests 2019-04-09 19:38:32 -04:00
device tests/kernel/device: extends test for code coverage 2019-05-01 10:38:03 -04:00
early_sleep license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fatal tests: adjust stack size for mps2_an385's coverage test 2019-04-11 17:59:39 -04:00
fifo license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fp_sharing tests: kernel: fp_sharing: minor fix in #ifdef expression 2019-04-10 10:59:46 -04:00
gen_isr_table tests: kernel: Exclude platforms stm32_min_dev_* 2019-04-26 03:34:45 -07:00
interrupt tests: kernel: Exclude platforms stm32_min_dev_* 2019-04-26 03:34:45 -07:00
lifo license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mbox license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mem_heap/mheap_api_concept license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mem_pool tests: adjust stack size for mps2_an385's coverage test 2019-04-11 17:59:39 -04:00
mem_protect tests: stackprot: don't set main stack size 2019-05-03 13:30:16 -07:00
mem_slab license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
msgq/msgq_api license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mutex tests: adjust stack size for mps2_an385's coverage test 2019-04-11 17:59:39 -04:00
obj_tracing license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
pending license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
pipe tests: pipe: fix error with optimization disabled 2019-05-02 07:22:37 -04:00
poll license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
profiling/profiling_api tests: adjust stack size for mps2_an385's coverage test 2019-04-11 17:59:39 -04:00
queue license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
sched tests/kernel/schedule_api: also test without time slicing 2019-04-18 12:26:52 -04:00
semaphore license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
sleep license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
smp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
spinlock license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
stack license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
static_idt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
threads tests: adjust stack size for mps2_an385's coverage test 2019-04-11 17:59:39 -04:00
tickless license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
timer tests: timer_api: run in user mode 2019-05-02 18:01:06 -07:00
workq license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
xip license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00