Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Performs all logic to run a test case. It also catches most errors that* occur in a test case and reports them as failures.

Proto:static void kunit_run_case_catch_errors(struct kunit_suite *suite, struct kunit_case *test_case)

Type:void

Parameter:

TypeParameterName
struct kunit_suite *suite
struct kunit_case *test_case
289  kunit_init_test( & test, name)
290  try_catch = try_catch
292  kunit_try_catch_init(try_catch, & test, kunit_try_run_case, kunit_catch_run_case)
296  test = test
297  suite = suite
298  test_case = test_case
299  kunit_try_catch_run(try_catch, & context)
301  private: internal use only. = Read only after test_case finishes!
Caller
NameDescribe
kunit_run_tests