zephyr/tests/kernel/fatal
Ioannis Glaropoulos 8004082389 tests: kernel: fatal: add explicit no user-mode test case
We would like to test the HW stack protection feature in ARM
builds with no user-mode support, i.e. CONFIG_USERSPACE=n. For
that we add a new test-case in tests/kernel/fatal test suite.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-06-19 09:07:57 -07:00
..
src tests: kernel: fatal: add HW stack check for priv stack 2019-06-17 10:27:52 -07:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
prj.conf tests: kernel: fatal: add HW stack check for priv stack 2019-06-17 10:27:52 -07:00
protection_no_userspace.conf tests: kernel: fatal: add explicit no user-mode test case 2019-06-19 09:07:57 -07:00
README
sentinel.conf tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
testcase.yaml tests: kernel: fatal: add explicit no user-mode test case 2019-06-19 09:07:57 -07:00

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.