summaryrefslogtreecommitdiff
path: root/include/kunit
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2023-05-10 13:38:32 +0800
committerShuah Khan <skhan@linuxfoundation.org>2023-05-11 18:17:41 -0600
commita5ce66ad292b681ffe245e1c0e8840484da76784 (patch)
treea4bd7fc18847ca536f2c99b8efb186620b710903 /include/kunit
parentcdc87bda607518e70b6a6745cd593458d725b5a7 (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