aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/dev-tools/kunit/index.rst
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2020-01-06 22:28:23 +0000
committerShuah Khan <skhan@linuxfoundation.org>2020-01-09 16:44:10 -0700
commit6ae2bfd3df06b59aa1b15e25b9656900b15a8880 (patch)
tree1b19b7fba94a43a25f4f575f087303057c0f7d0a /Documentation/dev-tools/kunit/index.rst
parentkunit: allow kunit to be loaded as a module (diff)
downloadwireguard-linux-6ae2bfd3df06b59aa1b15e25b9656900b15a8880.tar.xz
wireguard-linux-6ae2bfd3df06b59aa1b15e25b9656900b15a8880.zip
kunit: update documentation to describe module-based build
Documentation should describe how to build kunit and tests as modules. Co-developed-by: Knut Omang <knut.omang@oracle.com> Signed-off-by: Knut Omang <knut.omang@oracle.com> Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/dev-tools/kunit/index.rst')
-rw-r--r--Documentation/dev-tools/kunit/index.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/dev-tools/kunit/index.rst b/Documentation/dev-tools/kunit/index.rst
index c60d760a0eed..d16a4d2c3a41 100644
--- a/Documentation/dev-tools/kunit/index.rst
+++ b/Documentation/dev-tools/kunit/index.rst
@@ -49,6 +49,9 @@ to a standalone program that can be run like any other program directly inside
of a host operating system; to be clear, it does not require any virtualization
support; it is just a regular program.
+Alternatively, kunit and kunit tests can be built as modules and tests will
+run when the test module is loaded.
+
KUnit is fast. Excluding build time, from invocation to completion KUnit can run
several dozen tests in only 10 to 20 seconds; this might not sound like a big
deal to some people, but having such fast and easy to run tests fundamentally