zephyr/tests/kernel
Andy Ross fb613594c7 kernel/sched: Panic on aborting essential threads
Documentation specifies that aborting/terminating/exiting essential
threads is a system panic condition, but we didn't actually implement
that and allowed it as for other threads. At least one app wants to
exploit this documented behavior as a "watchdog" kind of condition,
and that seems reasonable.  Do what we say we're supposed to do.

This also includes a small fix to a test, which seemed like it was
written to exercise exactly this condition.  Except that it failed to
detect whether or not a system fatal error was actually signaled and
was (incorrectly) indicating "success".  Check that we actually enter
the handler.

Fixes #45545

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2022-05-20 12:34:30 +02:00
..
common tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
condvar/condvar_api tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
context tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
device tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
early_sleep tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
events tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
fatal tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
fifo tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
fpu_sharing tests: fpu_sharing: Fix the skipped testing on ehl_crb 2022-05-16 22:42:49 -04:00
gen_isr_table tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
interrupt tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
lifo tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mbox tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mem_heap linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
mem_protect riscv: clarify stack size and alignment parameters 2022-05-18 10:54:53 +02:00
mem_slab tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mp tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
msgq tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mutex tests: mutex: define testcases in yaml 2022-05-13 12:16:57 -04:00
obj_tracking Revert "tests/kernel/obj_tracking: Filter cAVS 2.5 builds to prevent DSP host hangs" 2022-01-26 10:09:19 -05:00
pending tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
pipe everywhere: fix typos 2022-03-18 13:24:08 -04:00
poll tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
profiling/profiling_api tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
queue tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
sched tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
semaphore tests: kernel: semaphore: fix mutual exclusion test issue 2022-05-17 11:45:16 +09:00
sleep tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
smp tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
smp_boot_delay tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
spinlock tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
stack/stack tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
threads kernel/sched: Panic on aborting essential threads 2022-05-20 12:34:30 +02:00
tickless/tickless_concept tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
timer tests: timer_monotonic: Use volatile for timing variables 2022-05-16 09:43:52 -04:00
usage/thread_runtime_stats tests: runtime threads stats 2022-05-13 10:19:53 -05:00
workq tests: workq: Add a regression test for issue #45267 2022-05-10 18:39:51 +02:00
xip everywhere: fix typos 2022-03-18 13:24:08 -04:00