]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: factor out common code in gpu test
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 4 Mar 2025 22:24:09 +0000 (22:24 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 10 Mar 2025 10:30:00 +0000 (10:30 +0000)
commit868c7703e052a14f9c612c38f7171581cb626f38
treee5a21ad9b7056ebaf30e13dc77d82d353964e182
parent9a72282560fd478e69326617cbe891461375c93a
tests/functional: factor out common code in gpu test

In preparation for handling more tests split out the common machine
setup details from the test specific stuff and add a helper for
launching the weston test. Instead of searching for "vkmark score" we
set a custom PS1 and wait for a successful completion. This ensures we
capture the score in the console log which otherwise wouldn't log
anything.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-3-alex.bennee@linaro.org>
tests/functional/test_aarch64_virt_gpu.py