summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/runtime_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/runtime_test.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 13e8760a16..e32c4aff85 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -260,13 +260,6 @@ class TestImage(OESelftestTestCase):
260 if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')): 260 if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')):
261 self.skipTest('virgl headless cannot be tested with %s' %(distro)) 261 self.skipTest('virgl headless cannot be tested with %s' %(distro))
262 262
263 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."""
264 try:
265 content = os.listdir("/dev/dri")
266 if len([i for i in content if i.startswith('render')]) == 0:
267 self.fail("No render nodes found in /dev/dri: %s. %s" %(content, render_hint))
268 except FileNotFoundError:
269 self.fail("/dev/dri directory does not exist; no render nodes available on this machine. %s" %(render_hint))
270 qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') 263 qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native')
271 features = 'IMAGE_CLASSES += "testimage"\n' 264 features = 'IMAGE_CLASSES += "testimage"\n'
272 if 'opengl' not in qemu_distrofeatures: 265 if 'opengl' not in qemu_distrofeatures: