diff options
| author | Michael Halstead <mhalstead@linuxfoundation.org> | 2023-03-08 16:09:31 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-23 22:45:34 +0000 |
| commit | 7d475e03ad41a392077b4c92808170b94bd8fb76 (patch) | |
| tree | a352ce69449f31d59303c6ef374f6642e3bf24c6 /meta/lib | |
| parent | 0a3580326591114661e5087bc14427ecec76d767 (diff) | |
| download | poky-7d475e03ad41a392077b4c92808170b94bd8fb76.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: 0f317a0533f20580e77a0d6d0b636c05b3230b1e)
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 858f12ec90..29e82881d1 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
| @@ -252,7 +252,8 @@ class TestImage(OESelftestTestCase): | |||
| 252 | import subprocess, os | 252 | import subprocess, os |
| 253 | 253 | ||
| 254 | distro = oe.lsb.distro_identifier() | 254 | distro = oe.lsb.distro_identifier() |
| 255 | if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')): | 255 | if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or |
| 256 | distro.startswith('almalinux') or distro.startswith('rocky')): | ||
| 256 | self.skipTest('virgl headless cannot be tested with %s' %(distro)) | 257 | self.skipTest('virgl headless cannot be tested with %s' %(distro)) |
| 257 | 258 | ||
| 258 | 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.""" | 259 | 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.""" |
