zephyr/tests/kernel
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
..
cache tests: cache: Add cache test 2022-12-01 13:40:56 -05:00
common ARC: MWDT add TLS support 2022-11-29 09:48:23 +01:00
condvar/condvar_api yamllint: fix all yamllint truthy errors 2023-01-04 01:16:45 +09:00
context tests: kernel: Provide more stack space for context test 2023-01-26 10:04:33 +00:00
device ztest: improve some tests 2022-09-09 07:05:38 -04:00
early_sleep tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
events yamllint: fix all yamllint truthy errors 2023-01-04 01:16:45 +09:00
fatal tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
fifo tests: kernel: fifo_timeout: Do not print status messages during tests 2022-12-05 13:38:16 +01:00
fpu_sharing tests: Fix floating point test variants on x86 w/LLVM 2023-02-21 08:25:38 -05:00
gen_isr_table tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
interrupt tests: kernel: interrupt: workaround qemu_x86 interrupt issue 2023-02-21 16:17:20 -05:00
lifo tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mbox tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mem_heap boards: mps2_an521: clean up memory map 2023-02-19 20:55:47 -05:00
mem_protect tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
mem_slab tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
mp tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
msgq tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mutex tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
obj_tracking tests: kernel: Add events to object tracking 2023-02-02 20:21:12 +09:00
pending tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
pipe tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
poll tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
profiling/profiling_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
queue tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sched renode: Add Renode overlays for selected tests 2023-01-25 14:02:29 -08:00
semaphore tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sleep tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
smp tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
smp_boot_delay tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
spinlock tests: spin lock timeout test spin time 2022-12-14 13:44:36 -06:00
stack/stack tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
threads tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
tickless/tickless_concept tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
timer tests: kernel: timer_behavior: improve the timer_jitter_drift output 2023-02-19 20:34:37 -05:00
usage/thread_runtime_stats renode: Add Renode overlays for selected tests 2023-01-25 14:02:29 -08:00
workq yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
xip tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00