|
@@ -3,6 +3,7 @@ import os
|
|
|
import subprocess
|
|
|
import time
|
|
|
from oeqa.core.decorator import OETestTag
|
|
|
+from oeqa.core.decorator.data import skipIfArch
|
|
|
from oeqa.core.case import OEPTestResultTestCase
|
|
|
from oeqa.selftest.case import OESelftestTestCase
|
|
|
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu, Command
|
|
@@ -38,15 +39,12 @@ def parse_results(filename):
|
|
|
@OETestTag("toolchain-user")
|
|
|
@OETestTag("runqemu")
|
|
|
class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
|
|
|
+
|
|
|
+ @skipIfArch(['mips', 'mips64'])
|
|
|
def test_rust(self, *args, **kwargs):
|
|
|
# Disable Rust Oe-selftest
|
|
|
#self.skipTest("The Rust Oe-selftest is disabled.")
|
|
|
|
|
|
- # Skip mips32 target since it is unstable with rust tests
|
|
|
- machine = get_bb_var('MACHINE')
|
|
|
- if machine == "qemumips":
|
|
|
- self.skipTest("The mips32 target is skipped for Rust Oe-selftest.")
|
|
|
-
|
|
|
# build remote-test-server before image build
|
|
|
recipe = "rust"
|
|
|
start_time = time.time()
|