summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/cases/rust.py8
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
3import subprocess 3import subprocess
4import time 4import time
5from oeqa.core.decorator import OETestTag 5from oeqa.core.decorator import OETestTag
6from oeqa.core.decorator.data import skipIfArch
6from oeqa.core.case import OEPTestResultTestCase 7from oeqa.core.case import OEPTestResultTestCase
7from oeqa.selftest.case import OESelftestTestCase 8from oeqa.selftest.case import OESelftestTestCase
8from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu, Command 9from 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")
40class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): 41class 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()