[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/7] tests/acceptance: allow a "graceful" failing for virtio-gpu t
From: |
Alex Bennée |
Subject: |
[PULL 3/7] tests/acceptance: allow a "graceful" failing for virtio-gpu test |
Date: |
Wed, 24 Feb 2021 11:49:22 +0000 |
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>
diff --git a/tests/acceptance/virtio-gpu.py b/tests/acceptance/virtio-gpu.py
index ab1a4c1a71..ab18cddbb7 100644
--- a/tests/acceptance/virtio-gpu.py
+++ b/tests/acceptance/virtio-gpu.py
@@ -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", ""
--
2.20.1
- [PULL 0/7] testing updates (build, docs, dumps), Alex Bennée, 2021/02/24
- [PULL 1/7] meson.build: expose TCG cross compiler information in summary, Alex Bennée, 2021/02/24
- [PULL 2/7] docker: Bump Fedora images to release 33, Alex Bennée, 2021/02/24
- [PULL 3/7] tests/acceptance: allow a "graceful" failing for virtio-gpu test,
Alex Bennée <=
- [PULL 6/7] docs/devel: add forward reference to check-tcg, Alex Bennée, 2021/02/24
- [PULL 7/7] docs: move CODING_STYLE into the developer documentation, Alex Bennée, 2021/02/24
- [PULL 4/7] docs/devel: expand on use of containers to build tests, Alex Bennée, 2021/02/24
- [PULL 5/7] docs/devel: update the container based tests, Alex Bennée, 2021/02/24