mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Unit tests are more ergonomic and simpler to understand if they don't have to hoist a bunch of code into the test harness init and exit functions. Add some test managed wrappers for the clk APIs so that clk unit tests can write more code in the actual test and less code in the harness. Only add APIs that are used for now. More wrappers can be added in the future as necessary. Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: David Gow <davidgow@google.com> Cc: Rae Moar <rmoar@google.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20240718210513.3801024-7-sboyd@kernel.org
48 lines
869 B
ReStructuredText
48 lines
869 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
=============
|
|
API Reference
|
|
=============
|
|
.. toctree::
|
|
:hidden:
|
|
|
|
test
|
|
resource
|
|
functionredirection
|
|
clk
|
|
of
|
|
platformdevice
|
|
|
|
|
|
This page documents the KUnit kernel testing API. It is divided into the
|
|
following sections:
|
|
|
|
Core KUnit API
|
|
==============
|
|
|
|
Documentation/dev-tools/kunit/api/test.rst
|
|
|
|
- Documents all of the standard testing API
|
|
|
|
Documentation/dev-tools/kunit/api/resource.rst
|
|
|
|
- Documents the KUnit resource API
|
|
|
|
Documentation/dev-tools/kunit/api/functionredirection.rst
|
|
|
|
- Documents the KUnit Function Redirection API
|
|
|
|
Driver KUnit API
|
|
================
|
|
|
|
Documentation/dev-tools/kunit/api/clk.rst
|
|
|
|
- Documents the KUnit clk API
|
|
|
|
Documentation/dev-tools/kunit/api/of.rst
|
|
|
|
- Documents the KUnit device tree (OF) API
|
|
|
|
Documentation/dev-tools/kunit/api/platformdevice.rst
|
|
|
|
- Documents the KUnit platform device API
|