1 /*
2  * Copyright (c) 2022 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/ztest.h>
8 #include <zephyr/kernel.h>
9 #include "assert.h"
10 
assert_print(const char * fmt,...)11 void assert_print(const char *fmt, ...)
12 {
13 	va_list ap;
14 
15 	va_start(ap, fmt);
16 	vprintk(fmt, ap);
17 	va_end(ap);
18 }
19 
assert_post_action(const char * file,unsigned int line)20 void assert_post_action(const char *file, unsigned int line)
21 {
22 	/*
23 	 * Todo: implement FFF functionality, see the host unit tests for reference
24 	 */
25 	ztest_test_fail();
26 }
27