zephyr/tests/kernel/threads
Daniel Leung 116998c677 tests: kernel: print FAILED when wrong faults caught
For some kernel tests, faults and exceptions are expected.
They are caught and the test would continue if the reasons
for faults are as expected. However, when the unexpected
reasons are encountered, the code simply prints a message
and calls k_fatal_halt(). When running under twister,
these messages are not the expected failed messages so
twister will spin till timeout although the execution
has already been halted. This adds another printk() before
halt to signal twister that the test has failed and bails
early.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-02-21 18:06:44 -05:00
..
dynamic_thread tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
no-multithreading tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
thread_apis tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
thread_error_case tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
thread_init ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
thread_stack tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
tls yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00