summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-10-31 10:36:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-04 13:39:05 +0000
commitd1fb08991e86d2c529ffd53014d38997e552a87c (patch)
tree92074dc50c73fc51013ffeb8faeb8e16ea7e2710
parentfca7712bf45de005d6adc1256bfab816210c650b (diff)
downloadpoky-d1fb08991e86d2c529ffd53014d38997e552a87c.tar.gz
selftest: skip virgl test on centos 7 entirely
With the sdl frontend, qemu isn't able to even boot fully, so let's skip the test early. (From OE-Core rev: 7b0708da20e4f04070837e5696e4fa3ee5990e8f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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'