-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Description
To Reproduce
Steps to reproduce the behavior:
twister -p iotdk --device-testing --device-serial /dev/ttyUSB0 -T tests/ztest/error_hook/
see error
*** Booting Zephyr OS build zephyr-v2.4.0-3009-gfc1b5de4c307 ***
Running test suite error_hook_tests
===================================================================
START - test_catch_assert_fail
ASSERTION FAIL [a != ((void *)0)] @ WEST_TOPDIR/zephyr/tests/ztest/error_hook/src/main.c:41
parameter a should not be NULL!
Caught assert failed
Assert error expected as part of test case.
PASS - test_catch_assert_fail
===================================================================
START - test_catch_fatal_error
case type is 0
b is 1024
FAIL - test_catch_fatal_error
===================================================================
START - test_catch_assert_in_isr
ASSERTION FAIL [a != ((void *)0)] @ WEST_TOPDIR/zephyr/tests/ztest/error_hook/src/main.c:41
parameter a should not be NULL!
Caught assert failed
Assert error expected as part of test case.
PASS - test_catch_assert_in_isr
===================================================================
START - test_catch_z_oops
PASS - test_catch_z_oops
===================================================================
Test suite error_hook_tests failed.
===================================================================
PROJECT EXECUTION FAILED
Environment (please complete the following information):
OS: Fedora33
Toolchain: zephyr-sdk-0.12.0
Commit ID: fc1b5de