Skip to content

Commit

Permalink
tests/acceptance: allow a "graceful" failing for virtio-gpu test
Browse files Browse the repository at this point in the history
This is a band-aid with a TODO for cases when QEMU doesn't start due
to missing VirGL. Longer term we could do with some proper feature
probing.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210222101455.12640-4-alex.bennee@linaro.org>
  • Loading branch information
stsquad committed Feb 24, 2021
1 parent 9d66a0e commit d989464
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/acceptance/virtio-gpu.py
Expand Up @@ -85,7 +85,12 @@ def test_virtio_vga_virgl(self):
"-append",
kernel_command_line,
)
self.vm.launch()
try:
self.vm.launch()
except:
# TODO: probably fails because we are missing the VirGL features
self.cancel("VirGL not enabled?")

self.wait_for_console_pattern("as init process")
exec_command_and_wait_for_pattern(
self, "/usr/sbin/modprobe virtio_gpu", ""
Expand Down

0 comments on commit d989464

Please sign in to comment.