diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-10-22 18:18:26 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-24 15:18:54 +0100 |
| commit | d8ec024b8306d8db68213405eb424312cddf520e (patch) | |
| tree | 107d353514311b79e1ad3112f5eb51600eebf842 /meta/lib | |
| parent | 13db230e423fbc89e2dc9c73e58556a277a06e5f (diff) | |
| download | poky-d8ec024b8306d8db68213405eb424312cddf520e.tar.gz | |
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>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/rust.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index fab6267b15..6cf1d262d5 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py | |||
| @@ -1,12 +1,11 @@ | |||
| 1 | # SPDX-License-Identifier: MIT | 1 | # SPDX-License-Identifier: MIT |
| 2 | import os | ||
| 3 | import subprocess | 2 | import subprocess |
| 4 | import time | 3 | import time |
| 5 | from oeqa.core.decorator import OETestTag | 4 | from oeqa.core.decorator import OETestTag |
| 6 | from oeqa.core.decorator.data import skipIfArch | 5 | from oeqa.core.decorator.data import skipIfArch |
| 7 | from oeqa.core.case import OEPTestResultTestCase | 6 | from oeqa.core.case import OEPTestResultTestCase |
| 8 | from oeqa.selftest.case import OESelftestTestCase | 7 | from oeqa.selftest.case import OESelftestTestCase |
| 9 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu, Command | 8 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu |
| 10 | from oeqa.utils.sshcontrol import SSHControl | 9 | from oeqa.utils.sshcontrol import SSHControl |
| 11 | 10 | ||
| 12 | def parse_results(filename): | 11 | def parse_results(filename): |
| @@ -42,9 +41,6 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): | |||
| 42 | 41 | ||
| 43 | @skipIfArch(['mips', 'mips64']) | 42 | @skipIfArch(['mips', 'mips64']) |
| 44 | def test_rust(self, *args, **kwargs): | 43 | def test_rust(self, *args, **kwargs): |
| 45 | # Disable Rust Oe-selftest | ||
| 46 | #self.skipTest("The Rust Oe-selftest is disabled.") | ||
| 47 | |||
| 48 | # build remote-test-server before image build | 44 | # build remote-test-server before image build |
| 49 | recipe = "rust" | 45 | recipe = "rust" |
| 50 | start_time = time.time() | 46 | start_time = time.time() |
