2 * Simple unit test library
4 * Copyright (c) 2013 Google, Inc
6 * SPDX-License-Identifier: GPL-2.0+
10 #include <test/test.h>
13 void ut_fail(struct unit_test_state *uts, const char *fname, int line,
14 const char *func, const char *cond)
16 printf("%s:%d, %s(): %s\n", fname, line, func, cond);
20 void ut_failf(struct unit_test_state *uts, const char *fname, int line,
21 const char *func, const char *cond, const char *fmt, ...)
25 printf("%s:%d, %s(): %s: ", fname, line, func, cond);