函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kunit\test.c Create Date:2022-07-27 07:36:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static void kunit_run_case_catch_errors(struct kunit_suite *suite, struct kunit_case *test_case)

返回类型:void

参数:

类型参数名称
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!
调用者
名称描述
kunit_run_tests