summaryrefslogtreecommitdiff
path: root/include/kunit
diff options
context:
space:
mode:
authorDaniel Latypov <dlatypov@google.com>2022-04-29 21:12:56 +0300
committerShuah Khan <skhan@linuxfoundation.org>2022-05-02 21:35:39 +0300
commitcae56e1740f559703c94b7f4d772d873b8a01395 (patch)
tree1af3aa0e009d1116c9cf303107f60e759d453137 /include/kunit
parent9bf2eed995f9f8136f00110214c120f2d7912ad8 (diff)
downloadlinux-cae56e1740f559703c94b7f4d772d873b8a01395.tar.xz
kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite)
These names sound more general than they are. The _end() function increments a `static int kunit_suite_counter`, so it can only safely be called on suites, aka top-level subtests. It would need to have a separate counter for each level of subtest to be generic enough. So rename it to make it clear it's only appropriate for suites. Signed-off-by: Daniel Latypov <dlatypov@google.com> Reviewed-by: David Gow <davidgow@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include/kunit')
0 files changed, 0 insertions, 0 deletions