diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-03 22:25:40 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-07 21:56:43 +0100 |
| commit | db62562db5f1ccae95b30135b794415755fbf01d (patch) | |
| tree | 1baa98ffc4de6da74a407351ed47da3b7cb9c44c | |
| parent | 13f1a9231d51d33134c804fc9a262b6bef98c9f7 (diff) | |
| download | poky-db62562db5f1ccae95b30135b794415755fbf01d.tar.gz | |
oeqa/selftest: Markup 'machine' specific test cases
These test cases are run by the autobuilder on a machine specific basis.
Add tags to these classes so they can be controlled by the metadata rather
than hardcoded in the autobuilder config.
(From OE-Core rev: de0b761b550d591f301ee5e9c232e0d5bd1342f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/meta_ide.py | 2 | ||||
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/runqemu.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/meta_ide.py b/meta/lib/oeqa/selftest/cases/meta_ide.py index f47bc70917..03901a2f32 100644 --- a/meta/lib/oeqa/selftest/cases/meta_ide.py +++ b/meta/lib/oeqa/selftest/cases/meta_ide.py | |||
| @@ -5,9 +5,11 @@ | |||
| 5 | from oeqa.selftest.case import OESelftestTestCase | 5 | from oeqa.selftest.case import OESelftestTestCase |
| 6 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject | 6 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject |
| 7 | from oeqa.utils.commands import bitbake, get_bb_vars, runCmd | 7 | from oeqa.utils.commands import bitbake, get_bb_vars, runCmd |
| 8 | from oeqa.core.decorator import OETestTag | ||
| 8 | import tempfile | 9 | import tempfile |
| 9 | import shutil | 10 | import shutil |
| 10 | 11 | ||
| 12 | @OETestTag("machine") | ||
| 11 | class MetaIDE(OESelftestTestCase): | 13 | class MetaIDE(OESelftestTestCase): |
| 12 | 14 | ||
| 13 | @classmethod | 15 | @classmethod |
diff --git a/meta/lib/oeqa/selftest/cases/runqemu.py b/meta/lib/oeqa/selftest/cases/runqemu.py index b88ae306c0..7e676bcb41 100644 --- a/meta/lib/oeqa/selftest/cases/runqemu.py +++ b/meta/lib/oeqa/selftest/cases/runqemu.py | |||
| @@ -8,6 +8,7 @@ import re | |||
| 8 | import tempfile | 8 | import tempfile |
| 9 | import time | 9 | import time |
| 10 | import oe.types | 10 | import oe.types |
| 11 | from oeqa.core.decorator import OETestTag | ||
| 11 | from oeqa.selftest.case import OESelftestTestCase | 12 | from oeqa.selftest.case import OESelftestTestCase |
| 12 | from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd | 13 | from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd |
| 13 | 14 | ||
| @@ -147,6 +148,7 @@ SYSLINUX_TIMEOUT = "10" | |||
| 147 | # dedicated for MACHINE=qemux86-64 where it test that qemux86-64 will | 148 | # dedicated for MACHINE=qemux86-64 where it test that qemux86-64 will |
| 148 | # bootup various filesystem types, including live image(iso and hddimg) | 149 | # bootup various filesystem types, including live image(iso and hddimg) |
| 149 | # where live image was not supported on all qemu architecture. | 150 | # where live image was not supported on all qemu architecture. |
| 151 | @OETestTag("machine") | ||
| 150 | class QemuTest(OESelftestTestCase): | 152 | class QemuTest(OESelftestTestCase): |
| 151 | 153 | ||
| 152 | @classmethod | 154 | @classmethod |
