Home
last modified time | relevance | path

Searched refs:KUNIT_FAILURE (Results 1 – 4 of 4) sorted by relevance

/linux/lib/kunit/
H A Dtest.c211 return KUNIT_FAILURE; in kunit_suite_has_succeeded()
214 if (test_case->status == KUNIT_FAILURE) in kunit_suite_has_succeeded()
215 return KUNIT_FAILURE; in kunit_suite_has_succeeded()
544 if (test->status == KUNIT_FAILURE) in kunit_run_case_catch_errors()
545 test_case->status = KUNIT_FAILURE; in kunit_run_case_catch_errors()
546 else if (test_case->status != KUNIT_FAILURE && test->status == KUNIT_SUCCESS) in kunit_run_case_catch_errors()
584 case KUNIT_FAILURE: in kunit_update_stats()
H A Dkunit-test.c671 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_FAILURE); in kunit_status_set_failure_test()
723 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_FAILURE); in kunit_current_fail_test()
/linux/lib/
H A Dkunit_iov_iter.c456 if (test->status == KUNIT_FAILURE) in iov_kunit_copy_to_folioq()
769 if (test->status == KUNIT_FAILURE) in iov_kunit_extract_pages_kvec()
847 if (test->status == KUNIT_FAILURE) in iov_kunit_extract_pages_bvec()
924 if (test->status == KUNIT_FAILURE) in iov_kunit_extract_pages_folioq()
1002 if (test->status == KUNIT_FAILURE) in iov_kunit_extract_pages_xarray()
/linux/include/kunit/
H A Dtest.h62 KUNIT_FAILURE, enumerator
144 case KUNIT_FAILURE: in kunit_status_to_ok_not_ok()
311 WRITE_ONCE(test->status, KUNIT_FAILURE); in kunit_set_failure()