Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kunit_init_test

Proto:void kunit_init_test(struct kunit *test, const char *name)

Type:void

Parameter:

TypeParameterName
struct kunit *test
const char *name
177  Process spin lock initialization( & Guards all mutable test state. )
178  Initialization list head
179  Read only after initialization! = name
180  Read only after test_case finishes! = true
Caller
NameDescribe
kunit_run_case_catch_errorsPerforms all logic to run a test case. It also catches most errors that* occur in a test case and reports them as failures.
kunit_resource_test_init_resources
kunit_resource_test_init