Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kunit_print_ok_not_ok

Proto:static void kunit_print_ok_not_ok(bool should_indent, bool is_ok, size_t test_number, const char *description)

Type:void

Parameter:

TypeParameterName
boolshould_indent
boolis_ok
size_ttest_number
const char *description
54  If should_indent Then indent = "\t"
56  Else indent = ""
59  If is_ok Then ok_not_ok = "ok"
61  Else ok_not_ok = "not ok"
64  pr_info("%s%s %zd - %s\n", indent, ok_not_ok, test_number, description)
Caller
NameDescribe
kunit_print_subtest_end
kunit_print_test_case_ok_not_ok