1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

oeqa/selftest/rust: remove unused imports or code

Remove unused imports, or disabling code which has been commented out.

(From OE-Core rev: e0ff4813b1cf4df0d851c857d57fb88d7db51bdd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-10-22 18:18:26 +01:00
committed by Richard Purdie
parent 13db230e42
commit d8ec024b83
+1 -5
View File
@@ -1,12 +1,11 @@
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
import os
import subprocess import subprocess
import time import time
from oeqa.core.decorator import OETestTag from oeqa.core.decorator import OETestTag
from oeqa.core.decorator.data import skipIfArch from oeqa.core.decorator.data import skipIfArch
from oeqa.core.case import OEPTestResultTestCase from oeqa.core.case import OEPTestResultTestCase
from oeqa.selftest.case import OESelftestTestCase from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu, Command from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu
from oeqa.utils.sshcontrol import SSHControl from oeqa.utils.sshcontrol import SSHControl
def parse_results(filename): def parse_results(filename):
@@ -42,9 +41,6 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
@skipIfArch(['mips', 'mips64']) @skipIfArch(['mips', 'mips64'])
def test_rust(self, *args, **kwargs): def test_rust(self, *args, **kwargs):
# Disable Rust Oe-selftest
#self.skipTest("The Rust Oe-selftest is disabled.")
# build remote-test-server before image build # build remote-test-server before image build
recipe = "rust" recipe = "rust"
start_time = time.time() start_time = time.time()