Skip to content
Commit ec882761 authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

tests: fatal: increase coverage



- _SysFatalErrorHandler is supposed to be user-overridable.
The test case now installs its own handler to show that this
has happened properly.

- Use TC_PRINT() TC_ERROR() macros

- Since we have out own _SysFatalErrorHandler, show that
k_panic() works

- Show that _SysFatalErrorHandler gets invoked with the expected
reason code for some of the scenarios.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent a68f8d10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment