From cadb42a66c8879fa30db84156e94d10cf1ea63e0 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 13 Oct 2023 17:52:03 +0100 Subject: [PATCH] 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 Signed-off-by: Jon Mason --- meta-arm/lib/oeqa/selftest/cases/runfvp.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-arm/lib/oeqa/selftest/cases/runfvp.py b/meta-arm/lib/oeqa/selftest/cases/runfvp.py index d60aa3c4..61ce2ab9 100644 --- a/meta-arm/lib/oeqa/selftest/cases/runfvp.py +++ b/meta-arm/lib/oeqa/selftest/cases/runfvp.py @@ -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")