diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/rust.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index ad14189c6d..ca98f8c0fd 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py | |||
| @@ -3,6 +3,7 @@ import os | |||
| 3 | import subprocess | 3 | import subprocess |
| 4 | import time | 4 | import time |
| 5 | from oeqa.core.decorator import OETestTag | 5 | from oeqa.core.decorator import OETestTag |
| 6 | from oeqa.core.decorator.data import skipIfArch | ||
| 6 | from oeqa.core.case import OEPTestResultTestCase | 7 | from oeqa.core.case import OEPTestResultTestCase |
| 7 | from oeqa.selftest.case import OESelftestTestCase | 8 | from oeqa.selftest.case import OESelftestTestCase |
| 8 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu, Command | 9 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu, Command |
| @@ -38,15 +39,12 @@ def parse_results(filename): | |||
| 38 | @OETestTag("toolchain-user") | 39 | @OETestTag("toolchain-user") |
| 39 | @OETestTag("runqemu") | 40 | @OETestTag("runqemu") |
| 40 | class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): | 41 | class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): |
| 42 | |||
| 43 | @skipIfArch(['mips', 'mips64']) | ||
| 41 | def test_rust(self, *args, **kwargs): | 44 | def test_rust(self, *args, **kwargs): |
| 42 | # Disable Rust Oe-selftest | 45 | # Disable Rust Oe-selftest |
| 43 | #self.skipTest("The Rust Oe-selftest is disabled.") | 46 | #self.skipTest("The Rust Oe-selftest is disabled.") |
| 44 | 47 | ||
| 45 | # Skip mips32 target since it is unstable with rust tests | ||
| 46 | machine = get_bb_var('MACHINE') | ||
| 47 | if machine == "qemumips": | ||
| 48 | self.skipTest("The mips32 target is skipped for Rust Oe-selftest.") | ||
| 49 | |||
| 50 | # build remote-test-server before image build | 48 | # build remote-test-server before image build |
| 51 | recipe = "rust" | 49 | recipe = "rust" |
| 52 | start_time = time.time() | 50 | start_time = time.time() |
