27 mos_panic(
"unexpected warning, test failed.");
40 for (
int i = 0; arg[i]; i++)
47 char *token =
strtok((
char *) arg,
",");
97 test_case->test_func(&r);
void platform_halt_cpu(void)
#define MOS_PRINTK_BUFFER_SIZE
MOSAPI char * strtok(char *str, const char *delim)
MOSAPI s32 strncmp(const char *str1, const char *str2, size_t n)
MOSAPI int vsnprintf(char *__restrict buf, size_t size, const char *__restrict format, va_list args)
bool cmdline_string_truthiness(const char *arg, bool default_value)
void kwarn_handler_set(kmsg_handler_t *handler)
#define mos_panic(fmt,...)
void kwarn_handler_remove(void)
static size_t strlen(const char *s)
void lprintk(loglevel_t loglevel, const char *format,...)
#define MOS_SETUP(_param, _fn)
static const char ** test_engine_skip_prefix_list
static bool mos_tests_setup_halt_on_success(const char *arg)
static bool mos_test_engine_run_tests(const char *arg)
static bool mos_tests_halt_on_success
static bool mos_test_engine_setup_skip_prefix_list(const char *arg)
static void test_engine_warning_handler(const char *func, u32 line, const char *fmt, va_list args)
s32 test_engine_n_warning_expected
static bool mos_test_engine_should_skip(const char *test_name)
#define MOS_TEST_FOREACH_TEST_CASE(_FPtr)