ANDROID: GKI: Document GKI KUnit differences

Added details for the new kernel parameter, kunit.enable, and
added a deviation warning at the top-level of the KUnit documentaion.

Bug: 231160619
Signed-off-by: Joe Fradley <joefradley@google.com>
Change-Id: Ia608bda8cd8c4a8a2d7ba84d02ea5c8fd6a6a99c
This commit is contained in:
Joe Fradley
2022-05-10 20:29:27 +00:00
parent 39f5348cf7
commit 03ca2deb91
2 changed files with 13 additions and 0 deletions

View File

@@ -1706,6 +1706,10 @@
between unregistering the boot console and initializing
the real console.
kunit.enable= [KUNIT] Enable executing KUnit tests in modules on load.
Requires CONFIG_KUNIT to be enabled.
Default is 0 (disabled)
i2c_bus= [HW] Override the default board specific I2C bus speed
or register an additional I2C bus that is not
registered from board initialization code.

View File

@@ -20,6 +20,15 @@ KUnit - Linux Kernel Unit Testing
tips
running_tips
.. warning::
AOSP only supports running tests loaded with modules. Built-in
test execution support has been disabled. In addition, in order
to fully enable running module loaded tests both CONFIG_KUNIT
needs to be enabled and kernel command line argument
`kunit.enable` needs to be set to 1.
The remaining KUnit documentation has been left as-is.
This section details the kernel unit testing framework.
Introduction