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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user