]> Git Repo - linux.git/commit
kunit: tool: Enable virtio/PCI by default on UML
authorDavid Gow <[email protected]>
Fri, 8 Jul 2022 16:27:11 +0000 (16:27 +0000)
committerShuah Khan <[email protected]>
Fri, 8 Jul 2022 17:22:29 +0000 (11:22 -0600)
commit6fc3a8636a7b0f7dbd6d0a4e450e765dc17518d4
treefdded0f2b9207972ffbf99be837ec0ee5307c801
parent53b466219f89782b5c3d96d21f8765d1eadcce4e
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 <[email protected]>
Reviewed-by: Daniel Latypov <[email protected]>
Signed-off-by: David Gow <[email protected]>
Reviewed-by: Brendan Higgins <[email protected]>
Signed-off-by: Daniel Latypov <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
tools/testing/kunit/configs/arch_uml.config [new file with mode: 0644]
tools/testing/kunit/kunit_kernel.py
tools/testing/kunit/kunit_tool_test.py
This page took 0.056211 seconds and 4 git commands to generate.