]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
selftest/runtime_test/virgl: Disable for all Rocky Linux
authorMichael Halstead <mhalstead@linuxfoundation.org>
Thu, 9 Mar 2023 00:09:31 +0000 (16:09 -0800)
committerSteve Sakoman <steve@sakoman.com>
Thu, 16 Mar 2023 14:35:11 +0000 (04:35 -1000)
RHEL compatible kernels do not support vgem so we disable virgl headless
testing.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78bc1ba2361249ec845d1b9e28d429a37dd83910)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/runtime_test.py

index 44f787ef12e399a0f760242d67ba20cca7005139..533b5d7453947539d62a1546ad84d6bd7cad0332 100644 (file)
@@ -254,7 +254,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))
 
         render_hint = """If /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create one suitable for mesa llvmpipe software renderer."""