From 3f11cf497a190c5823f509a2bbe47a7cf193d2aa Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 4 Apr 2023 11:01:07 +0000 Subject: [PATCH] tests: kernel: fatal: report testcase results Report results, do not rely on the test success report at the end. Signed-off-by: Anas Nashif --- tests/kernel/fatal/no-multithreading/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kernel/fatal/no-multithreading/src/main.c b/tests/kernel/fatal/no-multithreading/src/main.c index f99f65e3f97..22f2987c291 100644 --- a/tests/kernel/fatal/no-multithreading/src/main.c +++ b/tests/kernel/fatal/no-multithreading/src/main.c @@ -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); }