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 boards: rename qemu_xtensa to qemu_xtensa/dc233c 2024-10-02 09:58:36 +02:00
common tests: kernel: Test endian-specific buffer convert and copy functions 2025-01-17 13:56:33 +01:00
condvar/condvar_api
context Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
device tests: kernel: exclude xenvm with GICv3 from device tests 2024-12-05 22:09:31 +01:00
early_sleep
events
fatal Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
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 Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
ipi_optimize
lifo
mbox
mem_heap/k_heap_api kernel: Add tests for k_heap_calloc 2024-12-30 17:32:03 +01:00
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 samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
pipe tests: kernel: Don't use VLA in pipe_api test. 2025-02-05 14:57:49 +01:00
poll test: k_msgq_put should trigger reschedule 2024-12-14 01:04:43 +01:00
profiling/profiling_api
queue tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
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 samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
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 tests: kernel: workq_stop uninitialized variable 2025-01-14 13:25:35 +01:00
xip