diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-07-18 16:18:41 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2025-07-21 16:31:04 -0400 |
commit | 23b772c15f5b39fb2c27b386946232769e4dcc32 (patch) | |
tree | d79798bea408c91bd267dba809e7115205b6edb5 /scripts/lib/kdoc/kdoc_output.py | |
parent | 89be9a83ccf1f88522317ce02f854f30d6115c41 (diff) |
ktest.pl: Add -D option to override options
Add -D option that lets the user override options in the config.
For instance, if the config has: BUILD_NOCLEAN=1 which prevents mrproper
from being called before builds, and the user wants to call it once. The
user can run:
ktest -D BUILD_NOCLEAN=0 config
And the default "BUILD_NOCLEAN" options will be disabled.
If the user wants to change the second test to do a build and not boot,
the user can run:
ktest -D 'TEST_TYPE[2]=build' config
Where the '[#]' is for the test to assign the variable for. In the above
example, it will happen on test 2.
Cc: "John Warthog9 Hawley" <warthog9@kernel.org>
Cc: Dhaval Giani <dhaval.giani@gmail.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/20250718202053.231478909@kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions