Searched refs:ut_expected_panic (Results 1 – 2 of 2) sorted by relevance
65 struct ut_expected_panic_s ut_expected_panic; variable70 if (!ut_expected_panic.expect_panic) { in ut_check_expected_panic()73 ut_expected_panic.expect_panic = false; in ut_check_expected_panic()74 if (ut_expected_panic.str_contains != NULL) { in ut_check_expected_panic()75 if (strstr(panic_str, ut_expected_panic.str_contains) == NULL) { in ut_check_expected_panic()76 …PT_LOG_FMTSTR("Panic with unexpected panic-string, expected: `%s`", ut_expected_panic.str_contains… in ut_check_expected_panic()81 longjmp(ut_expected_panic.jb, 1); in ut_check_expected_panic()
38 extern struct ut_expected_panic_s ut_expected_panic;43 if (setjmp(ut_expected_panic.jb) == 0) { \44 ut_expected_panic.expect_panic = true; \45 ut_expected_panic.str_contains = s_contains; \