Skip to contentSkip to conversation

selftest/runtime_test/virgl: Disable for all Rocky Linux

PATCH New Michael Halstead 1 participant 1 message Mar 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftest/runtime_test/virgl: Disable for all Rocky Linux

RHEL compatible kernels do not support vgem so we disable virgl headless testing.

---
 meta/lib/oeqa/selftest/cases/runtime_test.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/runtime_test.py +2 -1
index e32c4aff85..81b8d056cc 100644
@@ -257,7 +257,8 @@ class TestImage(OESelftestTestCase):
         import subprocess, os
 
         distro = oe.lsb.distro_identifier()
-        if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')):
+        if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or
+            distro.startswith('almalinux') or distro.startswith('rocky')):
             self.skipTest('virgl headless cannot be tested with %s' %(distro))
 
         qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native')
Signature · 1 line
2.39.2