summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2022-02-17 08:56:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-20 15:32:27 +0000
commitd1c301e5857ad9aab45abd80af02da1af74ca3cb (patch)
tree276223d8b5eb8cab75e2b756b43e7f14823ccf17
parenta4b89c0be44b2d94dbfd46b6913cb11dcd5ab085 (diff)
downloadpoky-d1c301e5857ad9aab45abd80af02da1af74ca3cb.tar.gz
runtime_test: skip virgl test on fedora 34
The gtk and headless tests fail on Fedora 34 because of the host libdrm version so skip them. | runqemu - ERROR - Failed to run qemu: MESA-LOADER: failed to open iris: /lib64/libdrm_nouveau.so.2: undefined symbol: drmCloseBufferHandle (search paths /usr/lib64/dri) | failed to load driver: iris | MESA-LOADER: failed to open kms_swrast: /lib64/libdrm_nouveau.so.2: undefined symbol: drmCloseBufferHandle (search paths /usr/lib64/dri) | failed to load driver: kms_swrast | MESA-LOADER: failed to open swrast: /lib64/libdrm_nouveau.so.2: undefined symbol: drmCloseBufferHandle (search paths /usr/lib64/dri) | failed to load swrast driver | qemu-system-x86_64: egl: gbm_create_device failed | qemu-system-x86_64: egl: render node init failed (From OE-Core rev: 4c3d0463b413a0c070aa34d50e60bf184c726512) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 2148e84ff3..f9649339e5 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -232,6 +232,9 @@ class TestImage(OESelftestTestCase):
232 dripath = subprocess.check_output("pkg-config --variable=dridriverdir dri", shell=True) 232 dripath = subprocess.check_output("pkg-config --variable=dridriverdir dri", shell=True)
233 except subprocess.CalledProcessError as e: 233 except subprocess.CalledProcessError as e:
234 self.skipTest("Could not determine the path to dri drivers on the host via pkg-config.\nPlease install Mesa development files (particularly, dri.pc) on the host machine.") 234 self.skipTest("Could not determine the path to dri drivers on the host via pkg-config.\nPlease install Mesa development files (particularly, dri.pc) on the host machine.")
235 distro = oe.lsb.distro_identifier()
236 if distro and distro == 'fedora-34':
237 self.skipTest('virgl isn\'t working with Fedora 34')
235 qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') 238 qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native')
236 features = 'INHERIT += "testimage"\n' 239 features = 'INHERIT += "testimage"\n'
237 if 'opengl' not in qemu_distrofeatures: 240 if 'opengl' not in qemu_distrofeatures: