[oe-commits] [openembedded-core] 05/20: meta-selftest/virgl: Exclude centos7 from the kmscube test

git at git.openembedded.org git at git.openembedded.org
Mon Mar 11 03:18:39 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 5f4c3efb50e6c1225e6aef0f89d5a358950e3f16
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Mar 10 07:54:10 2019 +0000

    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 at linuxfoundation.org>
---
 meta-selftest/lib/oeqa/runtime/cases/virgl.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-selftest/lib/oeqa/runtime/cases/virgl.py b/meta-selftest/lib/oeqa/runtime/cases/virgl.py
index fd6b785..d301a19 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))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list