summaryrefslogtreecommitdiffstats
path: root/meta-selftest
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 /meta-selftest
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>
Diffstat (limited to 'meta-selftest')
-rw-r--r--meta-selftest/lib/oeqa/runtime/cases/virgl.py5
1 files changed, 0 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))