zephyr/tests/kernel/fatal
Andrew Boie 636f609d66 tests: kernel: fatal: check stack overflow
For all arches except ARC, enable stack sentinel and test that
some common stack violations trigger exceptions.

For ARC, use the hardware stack checking feature.

Additional testcase.ini blocks may be added to do stack bounds checking
for MMU/MPU-based stack protection schemes.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-05-13 15:14:41 -04:00
..
src tests: kernel: fatal: check stack overflow 2017-05-13 15:14:41 -04:00
Makefile tests: add fatal test case 2017-04-22 10:31:49 -04:00
README tests: add fatal test case 2017-04-22 10:31:49 -04:00
prj-arc.conf tests: kernel: fatal: check stack overflow 2017-05-13 15:14:41 -04:00
prj.conf tests: kernel: fatal: check stack overflow 2017-05-13 15:14:41 -04:00
testcase.ini tests: kernel: fatal: check stack overflow 2017-05-13 15:14:41 -04:00

README

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.