]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
selftest: skip virgl test on centos 7 entirely
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 31 Oct 2019 09:36:51 +0000 (10:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Nov 2019 13:31:27 +0000 (13:31 +0000)
With the sdl frontend, qemu isn't able to even boot fully,
so let's skip the test early.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta-selftest/lib/oeqa/runtime/cases/virgl.py
meta/lib/oeqa/selftest/cases/runtime_test.py

index d301a19fa423c4f3d2a1fc176b0c0b012c9f1beb..c0abfd1b16128f56970439fd7b350c6156dcc965 100644 (file)
@@ -13,11 +13,6 @@ 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))
index 3f212bd0eacae0cc0a194717f84b7fc68898447f..7d3922ce4487b7a8f505b481df8a8bae1b26bcea 100644 (file)
@@ -179,6 +179,8 @@ class TestImage(OESelftestTestCase):
         distro = oe.lsb.distro_identifier()
         if distro and distro == 'debian-8':
             self.skipTest('virgl isn\'t working with Debian 8')
+        if distro and distro == 'centos-7':
+            self.skipTest('virgl isn\'t working with Centos 7')
 
         qemu_packageconfig = get_bb_var('PACKAGECONFIG', 'qemu-system-native')
         features = 'INHERIT += "testimage"\n'