]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/selftest: Markup 'machine' specific test cases
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Sep 2019 21:25:40 +0000 (22:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Sep 2019 20:56:43 +0000 (21:56 +0100)
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>
meta/lib/oeqa/selftest/cases/meta_ide.py
meta/lib/oeqa/selftest/cases/runqemu.py

index f47bc70917277b815340f5ab3ee2b012574a461a..03901a2f32c6cb9c4a853d1f0ccd65e4823967f9 100644 (file)
@@ -5,9 +5,11 @@
 from oeqa.selftest.case import OESelftestTestCase
 from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
 from oeqa.utils.commands import bitbake, get_bb_vars, runCmd
+from oeqa.core.decorator import OETestTag
 import tempfile
 import shutil
 
+@OETestTag("machine")
 class MetaIDE(OESelftestTestCase):
 
     @classmethod
index b88ae306c0a786e10d76a88f7b135895e7ed54ba..7e676bcb41610beb9b1a2cc2530828e378c40482 100644 (file)
@@ -8,6 +8,7 @@ import re
 import tempfile
 import time
 import oe.types
+from oeqa.core.decorator import OETestTag
 from oeqa.selftest.case import OESelftestTestCase
 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
 # bootup various filesystem types, including live image(iso and hddimg)
 # where live image was not supported on all qemu architecture.
+@OETestTag("machine")
 class QemuTest(OESelftestTestCase):
 
     @classmethod