diff options
author | David Gow <davidgow@google.com> | 2023-05-25 12:21:29 +0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-05-25 08:53:01 -0600 |
commit | 00e63f8afcfc6bf93d75141c51d35e8a40e86363 (patch) | |
tree | 2e2107623525c6b11c00a99e075c3398214d2882 /include/kunit/test.h | |
parent | kunit: Add kunit_add_action() to defer a call until test exit (diff) | |
download | wireguard-linux-00e63f8afcfc6bf93d75141c51d35e8a40e86363.tar.xz wireguard-linux-00e63f8afcfc6bf93d75141c51d35e8a40e86363.zip |
kunit: executor_test: Use kunit_add_action()
Now we have the kunit_add_action() function, we can use it to implement
kfree_at_end() and free_subsuite_at_end() without the need for extra
helper functions.
Reviewed-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include/kunit/test.h')
0 files changed, 0 insertions, 0 deletions