WSL2-Linux-Kernel/tools/testing/kunit
David Gow 6fc3a8636a kunit: tool: Enable virtio/PCI by default on UML
There are several tests which depend on PCI, and hence need a bunch of
extra options to run under UML. This makes it awkward to give
configuration instructions (whether in documentation, or as part of a
.kunitconfig file), as two separate, incompatible sets of config options
are required for UML and "most other architectures".

For non-UML architectures, it's possible to add default kconfig options
via the qemu_config python files, but there's no equivalent for UML. Add
a new tools/testing/kunit/configs/arch_uml.config file containing extra
kconfig options to use on UML.

Tested-by: José Expósito <jose.exposito89@gmail.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-07-08 11:22:29 -06:00
..
configs kunit: tool: Enable virtio/PCI by default on UML 2022-07-08 11:22:29 -06:00
qemu_configs kunit: tool: Use qemu-system-i386 for i386 runs 2022-05-18 17:03:54 -06:00
test_data kunit: tool: make parser stop overwriting status of suites w/ no_tests 2022-05-16 13:22:12 -06:00
.gitignore
kunit.py kunit: tool: make --kunitconfig repeatable, blindly concat 2022-07-08 11:22:02 -06:00
kunit_config.py kunit: tool: make --kunitconfig repeatable, blindly concat 2022-07-08 11:22:02 -06:00
kunit_json.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00
kunit_kernel.py kunit: tool: Enable virtio/PCI by default on UML 2022-07-08 11:22:29 -06:00
kunit_parser.py kunit: tool: refactoring printing logic into kunit_printer.py 2022-07-07 17:46:25 -06:00
kunit_printer.py kunit: tool: refactoring printing logic into kunit_printer.py 2022-07-07 17:46:25 -06:00
kunit_tool_test.py kunit: tool: Enable virtio/PCI by default on UML 2022-07-08 11:22:29 -06:00
qemu_config.py kunit: tool: drop last uses of collections.namedtuple 2022-04-04 14:25:53 -06:00
run_checks.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00