zephyr/tests/kernel/mem_protect
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
..
demand_paging tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
futex tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
mem_map tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
mem_protect tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
obj_validation tests: obj_validation: Call setup function 2023-01-10 19:23:57 -05:00
protection tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
stack_random tests/kernel: Delay between thread creation in stack random test 2022-11-08 10:44:36 +01:00
stackprot tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
sys_sem tests: sys_sem: no k_thread_access_grant call if not userspace 2022-11-05 08:29:01 -04:00
syscalls ARC: qemu: disable test where we trigger ARC QEMU bug #54720 2023-02-17 08:50:37 +09:00
userspace tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00