Function report |
Source Code:lib\kunit\test.c |
Create Date:2022-07-28 06:38:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kunit_fail
Proto:static void kunit_fail(struct kunit *test, struct kunit_assert *assert)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kunit * | test | |
| struct kunit_assert * | assert |
| 121 | kunit_set_failure(test) |
| 123 | stream = alloc_string_stream(test, GFP_KERNEL) |
| 124 | If Not stream Then |
| 129 | Return |
| Name | Describe |
|---|---|
| kunit_do_assertion |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |