1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

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>
This commit is contained in:
Richard Purdie
2019-09-03 22:25:40 +01:00
parent 13f1a9231d
commit db62562db5
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -5,9 +5,11 @@
from oeqa.selftest.case import OESelftestTestCase from oeqa.selftest.case import OESelftestTestCase
from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
from oeqa.utils.commands import bitbake, get_bb_vars, runCmd from oeqa.utils.commands import bitbake, get_bb_vars, runCmd
from oeqa.core.decorator import OETestTag
import tempfile import tempfile
import shutil import shutil
@OETestTag("machine")
class MetaIDE(OESelftestTestCase): class MetaIDE(OESelftestTestCase):
@classmethod @classmethod
+2
View File
@@ -8,6 +8,7 @@ import re
import tempfile import tempfile
import time import time
import oe.types import oe.types
from oeqa.core.decorator import OETestTag
from oeqa.selftest.case import OESelftestTestCase from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd from oeqa.utils.commands import bitbake, runqemu, get_bb_var, runCmd
@@ -147,6 +148,7 @@ SYSLINUX_TIMEOUT = "10"
# dedicated for MACHINE=qemux86-64 where it test that qemux86-64 will # dedicated for MACHINE=qemux86-64 where it test that qemux86-64 will
# bootup various filesystem types, including live image(iso and hddimg) # bootup various filesystem types, including live image(iso and hddimg)
# where live image was not supported on all qemu architecture. # where live image was not supported on all qemu architecture.
@OETestTag("machine")
class QemuTest(OESelftestTestCase): class QemuTest(OESelftestTestCase):
@classmethod @classmethod