diff options
author | Ross Burton <ross@burtonini.com> | 2022-03-31 19:29:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-01 23:11:37 +0100 |
commit | 416cce968d3abb85177287cc1e497867d0472755 (patch) | |
tree | 6e3a5dab815105c9402c22887e6b07c94ca585bc /meta/lib/oeqa/selftest/cases/runqemu.py | |
parent | 4e5f84902e52d477e46eb83978f23416f09bbc6a (diff) | |
download | poky-416cce968d3abb85177287cc1e497867d0472755.tar.gz |
oeqa/selftest: tag tests that use runqemu
There may be environments or machines which don't have working runqemu,
so tag all of the tests which use runqemu() so that they can be skipped.
(From OE-Core rev: 3f45ce6d2b1dfde8bc3d554397d55f81846c52d5)
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/runqemu.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runqemu.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runqemu.py b/meta/lib/oeqa/selftest/cases/runqemu.py index da22f77b27..c1d277a095 100644 --- a/meta/lib/oeqa/selftest/cases/runqemu.py +++ b/meta/lib/oeqa/selftest/cases/runqemu.py | |||
@@ -12,6 +12,7 @@ from oeqa.core.decorator import OETestTag | |||
12 | from oeqa.selftest.case import OESelftestTestCase | 12 | from oeqa.selftest.case import OESelftestTestCase |
13 | from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd | 13 | from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd |
14 | 14 | ||
15 | @OETestTag("runqemu") | ||
15 | class RunqemuTests(OESelftestTestCase): | 16 | class RunqemuTests(OESelftestTestCase): |
16 | """Runqemu test class""" | 17 | """Runqemu test class""" |
17 | 18 | ||
@@ -149,6 +150,7 @@ SYSLINUX_TIMEOUT = "10" | |||
149 | # bootup various filesystem types, including live image(iso and hddimg) | 150 | # bootup various filesystem types, including live image(iso and hddimg) |
150 | # where live image was not supported on all qemu architecture. | 151 | # where live image was not supported on all qemu architecture. |
151 | @OETestTag("machine") | 152 | @OETestTag("machine") |
153 | @OETestTag("runqemu") | ||
152 | class QemuTest(OESelftestTestCase): | 154 | class QemuTest(OESelftestTestCase): |
153 | 155 | ||
154 | @classmethod | 156 | @classmethod |