diff options
author | David Gow <davidgow@google.com> | 2023-05-10 13:38:32 +0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-05-11 18:17:41 -0600 |
commit | a5ce66ad292b681ffe245e1c0e8840484da76784 (patch) | |
tree | a4bd7fc18847ca536f2c99b8efb186620b710903 /include/kunit | |
parent | cdc87bda607518e70b6a6745cd593458d725b5a7 (diff) |
kunit: example: Provide example exit functions
Add an example .exit and .suite_exit function to the KUnit example
suite. Given exit functions are a bit more subtle than init functions
(due to running in a different kthread, and running even after tests or
test init functions fail), providing an easy place to experiment with
them is useful.
Reviewed-by: Rae Moar <rmoar@google.com>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include/kunit')
0 files changed, 0 insertions, 0 deletions