zephyr/tests/kernel/fatal
Flavio Ceolin 0866d18d03 irq: Fix irq_lock api usage
irq_lock returns an unsigned int, though, several places was using
signed int. This commit fix this behaviour.

In order to avoid this error happens again, a coccinelle script was
added and can be used to check violations.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-08-16 19:47:41 -07:00
..
src irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
CMakeLists.txt cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
prj.conf tests: fatal: fix several issues 2018-05-22 15:59:07 -07:00
README
sentinel.conf tests: fix the bug of sentinel.conf 2018-06-08 16:37:22 -05:00
testcase.yaml tests: kernel: style, tag, and category fixes 2018-04-25 14:18:15 +05:30

This test case verifies that kernel fatal error handling works correctly.

If a thread causes a CPU exception, and it is not in an ISR or "essential"
thread, the thread gets aborted and the rest of the system executes normally.