diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2025-08-21 16:29:55 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-09-17 11:35:39 +0200 |
commit | be66a27b4f391ecd9cfb9394feb4369c4d39f94f (patch) | |
tree | 9ce291c9f54431629f8f6d17fcdb7126973ca7fc /tools/docs/lib/parse_data_structs.py | |
parent | 02d6eeedbc36d4b309d5518778071a749ef79c4e (diff) |
selftests/hid: update vmtest.sh for virtme-ng
This commit is a rewrite almost from scratch of vmtest.sh.
By relying on virtme-ng, we get rid of boot2container, reducing the
total bootup time (and network requirements). That means that we are
relying on the programs being installed on the host, but that shouldn't
be an issue. The generation of the kconfig is also now handled by
virtme-ng, so that's one less thing to worry.
I used tools/testing/selftests/vsock/vmtest.sh as a base and modified it
to look mostly like my previous script:
- removed the custom ssh handling
- make use of vng for compiling, which allows to bring remote
compilation (and potentially remote compilation on a remote container)
- change the verbosity logic by having 2 levels:
- first one shows the tests outputs
- second level also shows the VM logs
- instead of only running the compiled kernel when it is built, if we
are in the kernel tree, use the kernel artifacts there (and complain
if they are not built)
- adapted the tests list to match the HID subsystem tests
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions