zephyr/tests/kernel/threads
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
..
dynamic_thread
dynamic_thread_stack tests: kernel: Increase MAX_THREAD_BYTES to 6 2025-01-17 10:42:10 +01:00
no-multithreading
thread_apis tests/kernel/thread_apis: Fix essential thread abort test 2025-02-26 10:10:29 +00:00
thread_error_case tests: thread_error_case: fix incorrect userspace filtering 2024-11-20 15:58:15 -05:00
thread_init
thread_stack
tls arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00