diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-10 07:54:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-11 05:36:37 -0700 |
commit | aed0bc5382867dd463fa4566d94163dfabead565 (patch) | |
tree | efd6fd99d1c92f6f67a2d7f88576d4fa8443f78b | |
parent | 5220a105a74780a5c5a7d1cc6d1ab71e18d2e565 (diff) | |
download | poky-aed0bc5382867dd463fa4566d94163dfabead565.tar.gz |
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).
(From OE-Core rev: c27cdf83bc2b8ff802a5c4e0b49f18174af8e34a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 @@ | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 1 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 2 | from oeqa.core.decorator.depends import OETestDepends |
3 | import subprocess | 3 | import subprocess |
4 | import oe.lsb | ||
4 | 5 | ||
5 | class VirglTest(OERuntimeTestCase): | 6 | class VirglTest(OERuntimeTestCase): |
6 | 7 | ||
@@ -12,6 +13,11 @@ class VirglTest(OERuntimeTestCase): | |||
12 | 13 | ||
13 | @OETestDepends(['virgl.VirglTest.test_kernel_driver']) | 14 | @OETestDepends(['virgl.VirglTest.test_kernel_driver']) |
14 | 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 | |||
15 | status, output = self.target.run('kmscube', timeout=30) | 21 | status, output = self.target.run('kmscube', timeout=30) |
16 | self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output)) | 22 | self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output)) |
17 | self.assertIn('renderer: "virgl"', output, "kmscube does not seem to use virgl:\n%s" %(output)) | 23 | self.assertIn('renderer: "virgl"', output, "kmscube does not seem to use virgl:\n%s" %(output)) |