mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user