1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-06 02:40:18 +00:00

arm/oeqa/selftest: tag all tests with "meta-arm"

Tag all of the tests in meta-arm so that they can be selectively ran
without needing to explicitly list them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2023-10-13 17:52:03 +01:00
committed by Jon Mason
parent bc4d2e4124
commit cadb42a66c
@@ -7,10 +7,12 @@ import tempfile
import unittest.mock
from oeqa.selftest.case import OESelftestTestCase
from oeqa.core.decorator import OETestTag
runfvp = pathlib.Path(__file__).parents[5] / "scripts" / "runfvp"
testdir = pathlib.Path(__file__).parent / "tests"
@OETestTag("meta-arm")
class RunFVPTests(OESelftestTestCase):
def setUpLocal(self):
self.assertTrue(runfvp.exists())
@@ -51,6 +53,7 @@ class RunFVPTests(OESelftestTestCase):
# test-parameter sets one argument, add another manually
self.run_fvp(testdir / "test-parameter.json", "--", "--parameter", "board.dog=woof")
@OETestTag("meta-arm")
class ConfFileTests(OESelftestTestCase):
def test_no_exe(self):
from fvp import conffile
@@ -80,6 +83,7 @@ class ConfFileTests(OESelftestTestCase):
self.assertTrue("env" in conf)
@OETestTag("meta-arm")
class RunnerTests(OESelftestTestCase):
def create_mock(self):
return unittest.mock.patch("subprocess.Popen")