[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/10] tests/avocado/virtio-gpu: Fix test_vhost_user_vga_virgl for
|
From: |
Thomas Huth |
|
Subject: |
[PULL 03/10] tests/avocado/virtio-gpu: Fix test_vhost_user_vga_virgl for edid support |
|
Date: |
Thu, 16 Nov 2023 19:05:27 +0100 |
The "edid" feature has been added to vhost-user-gpu in commit
c06444261e20 ("contrib/vhost-user-gpu: implement get_edid feature"),
so waiting for "features: +virgl -edid" in the test does not work
anymore, it's "+edid" instead of "-edid" now!
While we're at it, move the expected string to the preceeding
exec_command_and_wait_for_pattern() instead (since waiting for
empty string here does not make too much sense).
Message-ID: <20231114203456.319093-1-thuth@redhat.com>
Reviewed-by: Antonio Caggiano <quic_acaggian@quicinc.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/avocado/virtio-gpu.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/avocado/virtio-gpu.py b/tests/avocado/virtio-gpu.py
index 89bfecc715..6091f614a4 100644
--- a/tests/avocado/virtio-gpu.py
+++ b/tests/avocado/virtio-gpu.py
@@ -149,10 +149,8 @@ def test_vhost_user_vga_virgl(self):
# 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", ""
- )
- self.wait_for_console_pattern("features: +virgl -edid")
+ exec_command_and_wait_for_pattern(self, "/usr/sbin/modprobe
virtio_gpu",
+ "features: +virgl +edid")
self.vm.shutdown()
qemu_sock.close()
vugp.terminate()
--
2.41.0
- [PULL 00/10] Avocado test fixes, Thomas Huth, 2023/11/16
- [PULL 01/10] tests/avocado: Replace assertEquals() for Python 3.12 compatibility, Thomas Huth, 2023/11/16
- [PULL 05/10] tests/avocado/multiprocess: Add asset hashes to silence warnings, Thomas Huth, 2023/11/16
- [PULL 03/10] tests/avocado/virtio-gpu: Fix test_vhost_user_vga_virgl for edid support,
Thomas Huth <=
- [PULL 02/10] tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility, Thomas Huth, 2023/11/16
- [PULL 07/10] tests/avocado/replay_kernel: Mark the test_x86_64_pc as flaky, Thomas Huth, 2023/11/16
- [PULL 06/10] tests/avocado: Make fetch_asset() unconditionally require a crypto hash, Thomas Huth, 2023/11/16
- [PULL 09/10] tests/avocado: reverse_debugging drain console to prevent hang, Thomas Huth, 2023/11/16
- [PULL 04/10] tests/avocado/intel_iommu: Add asset hashes to avoid warnings, Thomas Huth, 2023/11/16
- [PULL 08/10] tests/avocado/mem-addr-space-check: Replace assertEquals() for Python 3.12, Thomas Huth, 2023/11/16
- [PULL 10/10] tests/avocado: Enable reverse_debugging.py tests in gitlab CI, Thomas Huth, 2023/11/16
- Re: [PULL 00/10] Avocado test fixes, Stefan Hajnoczi, 2023/11/20