Lines Matching full:error

1 Title: A common fatal error and assert fail handler
6 code writing for fatal and assert handler for error case testing. They can
13 When writing error testing case (or we call it negative test case), we might
16 identical code would be written. So we try to move the error handler definition
20 And when error happens, we sometimes need a special action to make our testing
22 error happened. This is why we add a hook on it, in order to achieve that goal.
28 (a) Usage for dealing with fatal error:
60 This test verifies if the common fatal error and assert fail handler works.
61 If the expected error was caught, the test case will pass.
69 the (expected) fatal error.
71 the (expected) fatal error.
72 - start a thread to test triggering a divide-by-zero error, then catch
73 the (expected) fatal error.
74 - start a thread to call k_oops() then catch the (expected) fatal error.
75 - start a thread to call k_panel() then catch the (expected) fatal error.
83 K_OOPS macro will trigger a fatal error that will get caught (as expected).
90 Trigger a fatal error in ISR context, that will cause problem due to
105 Assert error expected as part of test case.
110 E: Page fault at address (nil) (error code 0x4)
120 E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
122 Caught system error -- reason 0 1
123 Fatal error expected as part of test case.
125 E: Page fault at address 0x12dfc4 (error code 0x15)
134 E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
136 Caught system error -- reason 0 1
137 Fatal error expected as part of test case.
146 E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
148 Caught system error -- reason 0 1
149 Fatal error expected as part of test case.
157 E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
159 Caught system error -- reason 3 1
160 Fatal error expected as part of test case.
168 E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
170 Caught system error -- reason 3 1
171 Fatal error expected as part of test case.
178 Assert error expected as part of test case.
188 E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
190 Caught system error -- reason 3 1
191 Fatal error expected as part of test case.