Go to the source code of this file.
◆ TEST_CHECK_RET
| #define TEST_CHECK_RET |
( |
|
ret, |
|
|
|
testname |
|
) |
| |
Value: do { \
if ((ret) < 0) { \
LOG_ERR(testname " failed: %d", (ret)); \
ztest_test_fail(); \
} else { \
ztest_test_pass(); \
} \
} while (0)
◆ TEST_RUN_ONCE
| #define TEST_RUN_ONCE |
( |
|
fn, |
|
|
|
... |
|
) |
| do {} while (0) |
◆ sof_boot_test_set_fault_valid()
| static void sof_boot_test_set_fault_valid |
( |
struct k_thread * |
thread | ) |
|
|
inlinestatic |
Mark a boot-test thread as expected to trigger a fatal error.
- Parameters
-
| thread | Thread that is allowed to fault once, or NULL to clear. |
◆ sof_run_boot_tests()
| void sof_run_boot_tests |
( |
void |
| ) |
|