selftest/runtime_test/virgl: Disable for all Rocky Linux

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

(From OE-Core rev: 78bc1ba2361249ec845d1b9e28d429a37dd83910)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Halstead
2023-03-08 16:09:31 -08:00
committed by Richard Purdie
parent a5352932d9
commit 45d0ab66fd

View File

@@ -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')