diff options
author | Ross Burton <ross.burton@arm.com> | 2022-11-09 19:31:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-11 13:43:40 +0000 |
commit | 45d9945c6aaef0ec9a17156f13d5f96a5abd3ab4 (patch) | |
tree | 75b57493d17bab519e2424799da67e993c072917 /meta/lib/oeqa/selftest/cases/runtime_test.py | |
parent | aa2016bcee3cda137b662faf3d5b5ac0b923fa3c (diff) | |
download | poky-45d9945c6aaef0ec9a17156f13d5f96a5abd3ab4.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: 09b9558e20e58b473154895b93cff16261c7f561)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/runtime_test.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 5 |
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 fe83b248f3..ae79724956 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
@@ -10,7 +10,7 @@ from oeqa.core.decorator import OETestTag | |||
10 | import os | 10 | import os |
11 | import tempfile | 11 | import tempfile |
12 | import oe.lsb | 12 | import oe.lsb |
13 | from oeqa.core.decorator.data import skipIfNotQemu | 13 | from oeqa.core.decorator.data import skipIfNotQemu, skipIfNotMachine |
14 | 14 | ||
15 | class TestExport(OESelftestTestCase): | 15 | class TestExport(OESelftestTestCase): |
16 | 16 | ||
@@ -202,6 +202,8 @@ class TestImage(OESelftestTestCase): | |||
202 | bitbake('core-image-full-cmdline socat') | 202 | bitbake('core-image-full-cmdline socat') |
203 | bitbake('-c testimage core-image-full-cmdline') | 203 | bitbake('-c testimage core-image-full-cmdline') |
204 | 204 | ||
205 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14966 | ||
206 | @skipIfNotMachine("qemux86-64", "test needs qemux86-64") | ||
205 | def test_testimage_virgl_gtk_sdl(self): | 207 | def test_testimage_virgl_gtk_sdl(self): |
206 | """ | 208 | """ |
207 | Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk and SDL frontends | 209 | Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk and SDL frontends |
@@ -243,6 +245,7 @@ class TestImage(OESelftestTestCase): | |||
243 | bitbake('core-image-minimal') | 245 | bitbake('core-image-minimal') |
244 | bitbake('-c testimage core-image-minimal') | 246 | bitbake('-c testimage core-image-minimal') |
245 | 247 | ||
248 | @skipIfNotMachine("qemux86-64", "test needs qemux86-64") | ||
246 | def test_testimage_virgl_headless(self): | 249 | def test_testimage_virgl_headless(self): |
247 | """ | 250 | """ |
248 | Summary: Check host-assisted accelerate OpenGL functionality in qemu with egl-headless frontend | 251 | Summary: Check host-assisted accelerate OpenGL functionality in qemu with egl-headless frontend |