From: Steve Sakoman Date: Tue, 18 Oct 2022 18:52:29 +0000 (-1000) Subject: selftest: skip virgl test on all Alma Linux X-Git-Tag: 2020-04.21-dunfell~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54bbfe94ae4514386c572564bf221edfdbb2ce38;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git selftest: skip virgl test on all Alma Linux This test will fail any time the host has libdrm > 2.4.107 Signed-off-by: Steve Sakoman --- diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 399727de49a..aeda01848ab 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py @@ -175,8 +175,8 @@ class TestImage(OESelftestTestCase): if "DISPLAY" not in os.environ: self.skipTest("virgl gtk test must be run inside a X session") distro = oe.lsb.distro_identifier() - if distro and distro == 'almalinux-8.6': - self.skipTest('virgl isn\'t working with Alma 8') + if distro and distro.startswith('almalinux'): + self.skipTest('virgl isn\'t working with Alma Linux') if distro and distro == 'debian-8': self.skipTest('virgl isn\'t working with Debian 8') if distro and distro == 'centos-7':