|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
Functions | |
| void | test_fatal (void) |
| Test the kernel fatal error handling works correctly. | |
| void | test_message_capture (void) |
| This test case verifies when fatal error log message can be captured. | |
| void | test_fatal_no_mt (void) |
| Verify the kernel fatal error handling works correctly. | |
| void | test_arm_esf_collection (void) |
| Test to verify code fault handling in ISR execution context. | |
| void test_arm_esf_collection | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/arch/arm/arm_interrupt/src/arm_interrupt.c>
Test to verify code fault handling in ISR execution context.
| void test_fatal | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/fatal/exception/src/main.c>
Test the kernel fatal error handling works correctly.
Manually trigger the crash with various ways and check that the kernel is handling that properly or not. Also the crash reason should match. Check for stack sentinel feature by overflowing the thread's stack and check for the exception.
| void test_fatal_no_mt | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/fatal/no-multithreading/src/main.c>
Verify the kernel fatal error handling works correctly.
Manually trigger the crash with various ways and check that the kernel is handling that properly or not. Also the crash reason should match.
| void test_message_capture | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/fatal/message_capture/src/main.c>
This test case verifies when fatal error log message can be captured.
Test Objective:
Prerequisite Conditions:
Input Specifications:
Test Procedure:
Expected Test Result:
Pass/Fail Criteria:
Assumptions and Constraints: