All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/14] oe-selftest: extend virgl gtk test to also check the SDL option
@ 2019-11-27 16:39 Alexander Kanavin
  2019-11-27 16:39 ` [PATCH 02/14] rpm: upgrade to 4.15.1 Alexander Kanavin
                   ` (13 more replies)
  0 siblings, 14 replies; 29+ messages in thread
From: Alexander Kanavin @ 2019-11-27 16:39 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/lib/oeqa/selftest/cases/runtime_test.py | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 4b56e5beca2..ccd2c40aa3f 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -166,9 +166,9 @@ class TestImage(OESelftestTestCase):
         bitbake('core-image-full-cmdline socat')
         bitbake('-c testimage core-image-full-cmdline')
 
-    def test_testimage_virgl_gtk(self):
+    def test_testimage_virgl_gtk_sdl(self):
         """
-        Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk frontend
+        Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk and SDL frontends
         Expected: 1. Check that virgl kernel driver is loaded and 3d acceleration is enabled
                   2. Check that kmscube demo runs without crashing.
         Product: oe-core
@@ -183,18 +183,27 @@ class TestImage(OESelftestTestCase):
             self.skipTest('virgl isn\'t working with Centos 7')
 
         qemu_packageconfig = get_bb_var('PACKAGECONFIG', 'qemu-system-native')
+        sdl_packageconfig = get_bb_var('PACKAGECONFIG', 'libsdl2-native')
         features = 'INHERIT += "testimage"\n'
         if 'gtk+' not in qemu_packageconfig:
             features += 'PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"\n'
+        if 'sdl' not in qemu_packageconfig:
+            features += 'PACKAGECONFIG_append_pn-qemu-system-native = " sdl"\n'
         if 'virglrenderer' not in qemu_packageconfig:
             features += 'PACKAGECONFIG_append_pn-qemu-system-native = " virglrenderer"\n'
         if 'glx' not in qemu_packageconfig:
             features += 'PACKAGECONFIG_append_pn-qemu-system-native = " glx"\n'
+        if 'opengl' not in sdl_packageconfig:
+            features += 'PACKAGECONFIG_append_pn-libsdl2-native = " opengl"\n'
         features += 'TEST_SUITES = "ping ssh virgl"\n'
         features += 'IMAGE_FEATURES_append = " ssh-server-dropbear"\n'
         features += 'IMAGE_INSTALL_append = " kmscube"\n'
-        features += 'TEST_RUNQEMUPARAMS = "gtk gl"\n'
-        self.write_config(features)
+        features_gtk = features + 'TEST_RUNQEMUPARAMS = "gtk gl"\n'
+        self.write_config(features_gtk)
+        bitbake('core-image-minimal')
+        bitbake('-c testimage core-image-minimal')
+        features_sdl = features + 'TEST_RUNQEMUPARAMS = "sdl gl"\n'
+        self.write_config(features_sdl)
         bitbake('core-image-minimal')
         bitbake('-c testimage core-image-minimal')
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2020-01-09  2:23 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-27 16:39 [PATCH 01/14] oe-selftest: extend virgl gtk test to also check the SDL option Alexander Kanavin
2019-11-27 16:39 ` [PATCH 02/14] rpm: upgrade to 4.15.1 Alexander Kanavin
2019-11-28 15:22   ` akuster808
2019-11-28 17:27     ` Alexander Kanavin
2019-11-27 16:39 ` [PATCH 03/14] libdnf: upgrade 0.28.1 -> 0.38.1 Alexander Kanavin
2019-11-27 16:39 ` [PATCH 04/14] dnf: upgrade 4.2.2 -> 4.2.16 Alexander Kanavin
2019-11-27 16:39 ` [PATCH 05/14] rpm: fix spelling in one of the patches' Upstream-Status Alexander Kanavin
2019-11-27 16:39 ` [PATCH 06/14] dummy-sdk-package.inc: do not include files into RREPLACES Alexander Kanavin
2020-01-02 10:17   ` Kang Kai
2020-01-02 18:06     ` Alexander Kanavin
2020-01-03  0:48       ` Kang Kai
2020-01-06 11:34         ` Alexander Kanavin
2020-01-09  2:23           ` Kang Kai
2019-11-27 16:39 ` [PATCH 07/14] gettext-minimal-native: update to 0.20.1 Alexander Kanavin
2019-11-27 16:39 ` [PATCH 08/14] gettext: " Alexander Kanavin
2019-11-28 15:18   ` akuster808
2019-11-28 17:47     ` Alexander Kanavin
2019-11-27 16:39 ` [PATCH 09/14] lrzsz: fix issues with newer versions of gettext Alexander Kanavin
2019-11-27 16:39 ` [PATCH 10/14] p11-kit: convert to meson Alexander Kanavin
2019-11-27 16:40 ` [PATCH 11/14] sed: upgrade to 4.7 Alexander Kanavin
2019-11-27 16:40 ` [PATCH 12/14] bind: update 9.11.5-P4 -> 9.11.13 Alexander Kanavin
2019-11-27 20:25   ` akuster808
2019-11-28 11:26     ` Alexander Kanavin
2019-11-27 16:40 ` [PATCH 13/14] flex: update to 2.6.4 Alexander Kanavin
2019-11-28 15:14   ` akuster808
2019-11-28 15:26     ` Khem Raj
2019-11-28 15:53       ` Alexander Kanavin
2019-11-27 16:40 ` [PATCH 14/14] gettext: fix failing ptests Alexander Kanavin
2019-11-27 17:02 ` ✗ patchtest: failure for "oe-selftest: extend virgl gtk ..." and 13 more Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.