zephyr/tests/kernel/fatal
Ioannis Glaropoulos 840db3ab6a tests: kernel: fatal: minor #ifdef guard fix
HW Stack protection is required to successfully run the
stack overflow-related tests, so guard all these tests
inside #ifdef CONFIG_HW_STACK_PROTECTION. Otherwise this
test-suite fails for platforms that implement USERSPACE
but do not have HW_STACK_PROTECTION capability.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2020-09-09 15:40:06 -04:00
..
src tests: kernel: fatal: minor #ifdef guard fix 2020-09-09 15:40:06 -04:00
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj_arm_fpu_sharing.conf tests: Rename kernel.common.stack_protection_arm_fp_sharing 2020-05-08 10:58:33 +02:00
prj_armv8m_mpu_stack_guard.conf tests: Never disable SMP 2019-09-26 16:54:06 -04:00
prj.conf tests: Never disable SMP 2019-09-26 16:54:06 -04:00
protection_no_userspace.conf tests: Never disable SMP 2019-09-26 16:54:06 -04:00
README
sentinel.conf tests: Never disable SMP 2019-09-26 16:54:06 -04:00
testcase.yaml sanitycheck: inclusive language 2020-08-27 07:04:07 -04: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.