Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kunit\test.c Create Date:2022-07-28 06:38:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kunit_set_failure

Proto:static void kunit_set_failure(struct kunit *test)

Type:void

Parameter:

TypeParameterName
struct kunit *test
16  WRITE_ONCE( Read only after test_case finishes! , false)
Caller
NameDescribe
kunit_fail
kunit_run_case_internalInitializes and runs test case. Does not clean up or do post validations.
kunit_catch_run_case