tests: kernel: fatal: report testcase results
Report results, do not rely on the test success report at the end. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
ef1a589f61
commit
3f11cf497a
@ -22,7 +22,7 @@ void k_sys_fatal_error_handler(unsigned int reason, const z_arch_esf_t *pEsf)
|
||||
TC_PRINT("Unexpected reason (exp: %d)\n", expected_reason);
|
||||
rv = TC_FAIL;
|
||||
}
|
||||
|
||||
TC_END_RESULT_CUSTOM(rv, "test_fatal");
|
||||
TC_END_REPORT(rv);
|
||||
arch_system_halt(reason);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user