summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-09 19:31:32 +0000
committerSteve Sakoman <steve@sakoman.com>2024-02-28 03:32:09 -1000
commit45ae93668c052c335b0b5329bbaf4b173dde0447 (patch)
tree84ba1214d057e4362fe2c5704a149f84b87c50af
parent2e131f08d4fea6369077ec278401a781f9f3109d (diff)
downloadpoky-45ae93668c052c335b0b5329bbaf4b173dde0447.tar.gz
oeqa/selftest/runtime_test: only run the virgl tests on qemux86-64
These tests should be able to work on qemuarm64, but this is untested and the runners will need configuration. (From OE-Core rev: 16a9037d28303af250bd379de53edb7a00a8ce49) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 09b9558e20e58b473154895b93cff16261c7f561) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 29e82881d1..d06d480c2b 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -8,7 +8,7 @@ from oeqa.core.decorator import OETestTag
8import os 8import os
9import tempfile 9import tempfile
10import oe.lsb 10import oe.lsb
11from oeqa.core.decorator.data import skipIfNotQemu 11from oeqa.core.decorator.data import skipIfNotQemu, skipIfNotMachine
12 12
13class TestExport(OESelftestTestCase): 13class TestExport(OESelftestTestCase):
14 14
@@ -200,6 +200,8 @@ class TestImage(OESelftestTestCase):
200 bitbake('core-image-full-cmdline socat') 200 bitbake('core-image-full-cmdline socat')
201 bitbake('-c testimage core-image-full-cmdline') 201 bitbake('-c testimage core-image-full-cmdline')
202 202
203 # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14966
204 @skipIfNotMachine("qemux86-64", "test needs qemux86-64")
203 def test_testimage_virgl_gtk_sdl(self): 205 def test_testimage_virgl_gtk_sdl(self):
204 """ 206 """
205 Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk and SDL frontends 207 Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk and SDL frontends
@@ -241,6 +243,7 @@ class TestImage(OESelftestTestCase):
241 bitbake('core-image-minimal') 243 bitbake('core-image-minimal')
242 bitbake('-c testimage core-image-minimal') 244 bitbake('-c testimage core-image-minimal')
243 245
246 @skipIfNotMachine("qemux86-64", "test needs qemux86-64")
244 def test_testimage_virgl_headless(self): 247 def test_testimage_virgl_headless(self):
245 """ 248 """
246 Summary: Check host-assisted accelerate OpenGL functionality in qemu with egl-headless frontend 249 Summary: Check host-assisted accelerate OpenGL functionality in qemu with egl-headless frontend