summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-selftest/lib/oeqa/runtime/cases/virgl.py5
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py2
2 files changed, 2 insertions, 5 deletions
diff --git a/meta-selftest/lib/oeqa/runtime/cases/virgl.py b/meta-selftest/lib/oeqa/runtime/cases/virgl.py
index d301a19fa4..c0abfd1b16 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/virgl.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/virgl.py
@@ -13,11 +13,6 @@ class VirglTest(OERuntimeTestCase):
13 13
14 @OETestDepends(['virgl.VirglTest.test_kernel_driver']) 14 @OETestDepends(['virgl.VirglTest.test_kernel_driver'])
15 def test_kmscube(self): 15 def test_kmscube(self):
16
17 distro = oe.lsb.distro_identifier()
18 if distro and distro == 'centos-7':
19 self.skipTest('kmscube is not working when centos 7 is the host OS')
20
21 status, output = self.target.run('kmscube', timeout=30) 16 status, output = self.target.run('kmscube', timeout=30)
22 self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output)) 17 self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
23 self.assertIn('renderer: "virgl"', output, "kmscube does not seem to use virgl:\n%s" %(output)) 18 self.assertIn('renderer: "virgl"', output, "kmscube does not seem to use virgl:\n%s" %(output))
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 3f212bd0ea..7d3922ce44 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -179,6 +179,8 @@ class TestImage(OESelftestTestCase):
179 distro = oe.lsb.distro_identifier() 179 distro = oe.lsb.distro_identifier()
180 if distro and distro == 'debian-8': 180 if distro and distro == 'debian-8':
181 self.skipTest('virgl isn\'t working with Debian 8') 181 self.skipTest('virgl isn\'t working with Debian 8')
182 if distro and distro == 'centos-7':
183 self.skipTest('virgl isn\'t working with Centos 7')
182 184
183 qemu_packageconfig = get_bb_var('PACKAGECONFIG', 'qemu-system-native') 185 qemu_packageconfig = get_bb_var('PACKAGECONFIG', 'qemu-system-native')
184 features = 'INHERIT += "testimage"\n' 186 features = 'INHERIT += "testimage"\n'