mirror-linux/tools/testing/kunit
Thomas Weißschuh b26c1a85f3 kunit: qemu_configs: SH: Respect kunit cmdline
The default SH kunit configuration sets CONFIG_CMDLINE_OVERWRITE which
completely disregards the cmdline passed from the bootloader/QEMU in favor
of the builtin CONFIG_CMDLINE.
However the kunit tool needs to pass arguments to the in-kernel kunit core,
for filters and other runtime parameters.

Enable CONFIG_CMDLINE_EXTEND instead, so kunit arguments are respected.

Link: https://lore.kernel.org/r/20250407-kunit-sh-v1-1-f5432a54cf2f@linutronix.de
Fixes: 8110a3cab0 ("kunit: tool: Add support for SH under QEMU")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2025-04-14 10:08:01 -06:00
..
configs landlock: Add unique ID generator 2025-03-26 13:59:34 +01:00
qemu_configs kunit: qemu_configs: SH: Respect kunit cmdline 2025-04-14 10:08:01 -06:00
test_data kunit: tool: add test for parsing attributes 2023-12-18 13:21:15 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit.py kunit: add fallback for os.sched_getaffinity 2025-01-14 14:56:49 -07:00
kunit_config.py kunit: tool: fix pre-existing `mypy --strict` errors and update run_checks.py 2023-03-17 12:28:30 -06:00
kunit_json.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00
kunit_kernel.py kunit: tool: Build GDB scripts 2025-02-18 14:28:01 -07:00
kunit_parser.py kunit: tool: fix count of tests if late test plan 2025-04-08 14:57:24 -06:00
kunit_printer.py kunit: tool: Only print the summary 2024-11-19 14:52:17 -07:00
kunit_tool_test.py kunit: tool: fix count of tests if late test plan 2025-04-08 14:57:24 -06:00
mypy.ini kunit: tool: undo type subscripts for subprocess.Popen 2023-05-08 08:39:41 -06:00
qemu_config.py kunit: tool: Add support for overriding the QEMU serial port 2023-04-05 12:51:06 -06:00
run_checks.py kunit: tool: undo type subscripts for subprocess.Popen 2023-05-08 08:39:41 -06:00