selftests/hid: vmtest.sh: allow finer control on the build steps
authorBenjamin Tissoires <bentiss@kernel.org>
Wed, 6 Dec 2023 10:45:53 +0000 (11:45 +0100)
committerBenjamin Tissoires <bentiss@kernel.org>
Thu, 7 Dec 2023 08:52:03 +0000 (09:52 +0100)
commit46bc0277c2507338d98e166826afec330962309e
tree6202a4771c0ae0e7901cd8c4eaba57abe60ac359
parent887f8094b3352127d1bc68f768774e97acf4e7fa
selftests/hid: vmtest.sh: allow finer control on the build steps

vmtest.sh works great for a one shot test, but not so much for CI where
I want to build (with different configs) the bzImage in a separate
job than the one I am running it.

Add a "build_only" option to specify whether we need to boot the currently
built kernel in the vm.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Jiri Kosina <jkosina@suse.com>
Link: https://lore.kernel.org/r/20231206-wip-selftests-v2-2-c0350c2f5986@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/vmtest.sh