[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <n275so33-9n77-7os8-16s6-qs227r8q5s5o@xreary.bet>
Date: Wed, 17 Sep 2025 11:36:40 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Benjamin Tissoires <bentiss@...nel.org>
cc: Shuah Khan <shuah@...nel.org>, linux-input@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests/hid: update vmtest.sh for virtme-ng
On Thu, 21 Aug 2025, Benjamin Tissoires wrote:
> 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@...nel.org>
> ---
> I have switched my workflow to make use of virtme-ng for a few months.
> Now it's time to automate the manual commands I've been running in
> vmtest.sh.
> ---
> tools/testing/selftests/hid/vmtest.sh | 668 +++++++++++++++++++++-------------
> 1 file changed, 423 insertions(+), 245 deletions(-)
Applied to hid.git#for-6.18/selftests, thanks Benjamin.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists