zephyr/tests/kernel
Andy Ross 706dd25561 tests/kernel/thread_apis: Fix essential thread abort test
This test was buggy.  The first call to k_thread_abort() would
terminate the calling thread (because it handled a panic!) and so the
second case (an essential thread self-aborting) wasn't actually being
exercised and was silently "passing".  Oops.

Fix by splitting the cases into two tests, as suggested by @fsammoura

But unmasking that shows that there are some arch buglets[1] to fix
before this case can pass for everyone.  So skip on x86/riscv/sparc
for now.

[1] See the comment.  It's not really a "bug" as we've never demanded
that arch layers do this.  But it does work on many of them.

Signed-off-by: Andy Ross <andyross@google.com>
2025-02-26 10:10:29 +00:00
..
cache
common tests: kernel: Test endian-specific buffer convert and copy functions 2025-01-17 13:56:33 +01:00
condvar/condvar_api
context
device
early_sleep
events
fatal
fifo
fpu_sharing toolchain: iar: Add experimental IAR support 2025-02-14 19:12:44 +00:00
gen_isr_table irq: multilevel: compile 3rd level IRQ APIs only when enabled 2025-02-19 14:49:27 +00:00
interrupt tests: kernel: interrupt: Remove MS_TO_US 2025-02-20 06:05:37 +01:00
ipi_cascade
ipi_optimize
lifo
mbox
mem_heap/k_heap_api
mem_protect tests: Update tests to use new k_pipe API 2025-01-17 19:43:44 +01:00
mem_slab
mp
msgq tests: kernel/msgq_api: join threads after each test 2025-01-22 20:47:05 +01:00
mutex tests: Update tests to use new k_pipe API 2025-01-17 19:43:44 +01:00
obj_core tests: Update tests to use new k_pipe API 2025-01-17 19:43:44 +01:00
obj_tracking tests: Update tests to use new k_pipe API 2025-01-17 19:43:44 +01:00
pending
pipe tests: kernel: Don't use VLA in pipe_api test. 2025-02-05 14:57:49 +01:00
poll
profiling/profiling_api
queue
sched tests: kernel: metairq: Ensure meta-IRQ can preempt a cooperative thread 2025-02-04 12:03:20 +01:00
semaphore tests: Update tests to use new k_pipe API 2025-01-17 19:43:44 +01:00
sleep
smp arch: common: be able to use ROM_START_OFFSET on RISCV 2025-01-17 09:07:45 +01:00
smp_abort
smp_boot_delay
smp_suspend
spinlock
stack/stack
threads tests/kernel/thread_apis: Fix essential thread abort test 2025-02-26 10:10:29 +00:00
tickless/tickless_concept
timer tests: kernel: timer: timer_behavior: add tags 2025-01-30 02:02:06 +01:00
usage/thread_runtime_stats tests: kernel: usage: thread_runtime_stats: Improve test_all_stats_usage 2025-02-25 15:14:33 +00:00
workq
xip