diff options
| author | Rae Moar <rmoar@google.com> | 2023-04-03 20:19:30 +0000 |
|---|---|---|
| committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-04-05 12:51:30 -0600 |
| commit | a42077b787680cbc365a96446b30f32399fa3f6f (patch) | |
| tree | e54b89d16d310ab3914cea2b96cb32daf2f308b5 /include | |
| parent | kunit: tool: Add support for SH under QEMU (diff) | |
| download | linux-a42077b787680cbc365a96446b30f32399fa3f6f.tar.gz linux-a42077b787680cbc365a96446b30f32399fa3f6f.zip | |
kunit: add tests for using current KUnit test field
Create test suite called "kunit_current" to add test coverage for the use
of current->kunit_test, which returns the current KUnit test.
Add two test cases:
- kunit_current_test to test current->kunit_test and the method
kunit_get_current_test(), which utilizes current->kunit_test.
- kunit_current_fail_test to test the method
kunit_fail_current_test(), which utilizes current->kunit_test.
Signed-off-by: Rae Moar <rmoar@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
