diff options
-rw-r--r-- | meta-selftest/lib/oeqa/runtime/cases/virgl.py | 6 |
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 fd6b7851db..d301a19fa4 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)) |