Contrary to the comment in code, this test is NOT, in fact, compiled with a traditional ticked kernel. Spinning won't work reliably because interrupts won't necessarily be delivered when you expect. This test case would fail spuriously as I moved things around when debugging. Doing it right (using a k_timer in this case) is actually less code anyway. Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| README | ||
| sentinel.conf | ||
| testcase.yaml | ||
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.