diff options
| author | Michael Halstead <mhalstead@linuxfoundation.org> | 2023-03-08 16:09:31 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-21 14:26:31 +0000 |
| commit | 071d627f244cdb60089321826bc7eb302f2ae408 (patch) | |
| tree | 7c69c4f12bf243a70ddc8c272a73f1080f6efa7d /meta/lib | |
| parent | 7ed00474a01058d29395d4598b5ed8e62b610f08 (diff) | |
| download | poky-071d627f244cdb60089321826bc7eb302f2ae408.tar.gz | |
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: 21220564ab2c6966959d6e97a37f7fe22d48c65b)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 44f787ef12..533b5d7453 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
| @@ -254,7 +254,8 @@ class TestImage(OESelftestTestCase): | |||
| 254 | import subprocess, os | 254 | import subprocess, os |
| 255 | 255 | ||
| 256 | distro = oe.lsb.distro_identifier() | 256 | distro = oe.lsb.distro_identifier() |
| 257 | if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')): | 257 | if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or |
| 258 | distro.startswith('almalinux') or distro.startswith('rocky')): | ||
| 258 | self.skipTest('virgl headless cannot be tested with %s' %(distro)) | 259 | self.skipTest('virgl headless cannot be tested with %s' %(distro)) |
| 259 | 260 | ||
| 260 | 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.""" | 261 | 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.""" |
