aboutsummaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-10 07:54:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-11 05:32:17 -0700
commitc27cdf83bc2b8ff802a5c4e0b49f18174af8e34a (patch)
treee7b959543aec53bc79655ccc28bf3ecbafe527f9 /meta-selftest
parent28e631d6dbc0a126253c0a072b8f39ff683bfa3a (diff)
downloadopenembedded-core-contrib-c27cdf83bc2b8ff802a5c4e0b49f18174af8e34a.tar.gz
openembedded-core-contrib-c27cdf83bc2b8ff802a5c4e0b49f18174af8e34a.tar.bz2
openembedded-core-contrib-c27cdf83bc2b8ff802a5c4e0b49f18174af8e34a.zip
meta-selftest/virgl: Exclude centos7 from the kmscube test
This test does not work on centos7 so diable it (as was done in the original series before we thought it was working). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r--meta-selftest/lib/oeqa/runtime/cases/virgl.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-selftest/lib/oeqa/runtime/cases/virgl.py b/meta-selftest/lib/oeqa/runtime/cases/virgl.py
index fd6b7851dbe..d301a19fa42 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/virgl.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/virgl.py
@@ -1,6 +1,7 @@
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
import subprocess
+import oe.lsb
class VirglTest(OERuntimeTestCase):
@@ -12,6 +13,11 @@ class VirglTest(OERuntimeTestCase):
@OETestDepends(['virgl.VirglTest.test_kernel_driver'])
def test_kmscube(self):
+
+ distro = oe.lsb.distro_identifier()
+ if distro and distro == 'centos-7':
+ self.skipTest('kmscube is not working when centos 7 is the host OS')
+
status, output = self.target.run('kmscube', timeout=30)
self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
self.assertIn('renderer: "virgl"', output, "kmscube does not seem to use virgl:\n%s" %(output))