Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/6] selftest: skip virgl test on centos 7 entirely
Date: Thu, 31 Oct 2019 10:36:51 +0100	[thread overview]
Message-ID: <20191031093655.14852-2-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20191031093655.14852-1-alex.kanavin@gmail.com>

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>
---
 meta-selftest/lib/oeqa/runtime/cases/virgl.py | 5 -----
 meta/lib/oeqa/selftest/cases/runtime_test.py  | 2 ++
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/meta-selftest/lib/oeqa/runtime/cases/virgl.py b/meta-selftest/lib/oeqa/runtime/cases/virgl.py
index d301a19fa42..c0abfd1b161 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/virgl.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/virgl.py
@@ -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))
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 3f212bd0eac..7d3922ce448 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -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'
-- 
2.17.1



  reply	other threads:[~2019-10-31  9:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-31  9:36 [PATCH 1/6] runqemu: add options that enable virgl with the SDL frontend Alexander Kanavin
2019-10-31  9:36 ` Alexander Kanavin [this message]
2019-10-31  9:36 ` [PATCH 3/6] oe-selftest: extend virgl gtk test to also check the SDL option Alexander Kanavin
2019-11-01 17:46   ` Ross Burton
2019-11-02 12:07     ` Alexander Kanavin
2019-11-02 22:29       ` Alexander Kanavin
2019-11-04 21:10         ` Alexander Kanavin
2019-11-08 17:20           ` Michael Halstead
2019-11-08 17:55             ` Alexander Kanavin
2019-11-08 18:01               ` Michael Halstead
2019-11-08 18:16                 ` Alexander Kanavin
2019-10-31  9:36 ` [PATCH 4/6] gcr: update to 3.34.0 Alexander Kanavin
2019-10-31  9:56   ` Andreas Müller
2019-10-31  9:58     ` Alexander Kanavin
2019-10-31 10:02       ` Andreas Müller
2019-10-31  9:36 ` [PATCH 5/6] btrfs-tools: update to 5.3 Alexander Kanavin
2019-10-31  9:36 ` [PATCH 6/6] libmodulemd-v1: update to 1.8.16 Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191031093655.14852-2-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox