diff mbox series

[2/2] oeqa/selftest/rust: remove unused imports or code

Message ID 20241022171826.1292640-2-ross.burton@arm.com
State Accepted, archived
Commit e0ff4813b1cf4df0d851c857d57fb88d7db51bdd
Headers show
Series [1/2] oeqa/selftest/rust: skip on all MIPS platforms | expand

Commit Message

Ross Burton Oct. 22, 2024, 5:18 p.m. UTC
Remove unused imports, or disabling code which has been commented out.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/lib/oeqa/selftest/cases/rust.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
index fab6267b155..6cf1d262d5c 100644
--- a/meta/lib/oeqa/selftest/cases/rust.py
+++ b/meta/lib/oeqa/selftest/cases/rust.py
@@ -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()