]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
oeqa/selftest/rust: remove unused imports or code
authorRoss Burton <ross.burton@arm.com>
Tue, 22 Oct 2024 17:18:26 +0000 (18:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Oct 2024 14:18:52 +0000 (15:18 +0100)
Remove unused imports, or disabling code which has been commented out.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/rust.py

index fab6267b155e7b8cdb873fb5fafcc5165f044489..6cf1d262d5c56ef872ae95637efb3b69f72900c1 100644 (file)
@@ -1,12 +1,11 @@
 # SPDX-License-Identifier: MIT
-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
+from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu
 from oeqa.utils.sshcontrol import SSHControl
 
 def parse_results(filename):
@@ -42,9 +41,6 @@ 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.")
-
         # build remote-test-server before image build
         recipe = "rust"
         start_time = time.time()