mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
oetest: Drop unused variable
The pscmd variable appears unused, drop it and the code which then isn't needed. (From OE-Core rev: fbdc1f307c3a73979aee288f03aa513ccd93b799) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -57,7 +57,6 @@ def filterByTagExp(testsuite, tagexp):
|
||||
@LogResults
|
||||
class oeTest(unittest.TestCase):
|
||||
|
||||
pscmd = "ps"
|
||||
longMessage = True
|
||||
|
||||
@classmethod
|
||||
@@ -398,11 +397,6 @@ class RuntimeTestContext(TestContext):
|
||||
def _get_test_suites_required(self):
|
||||
return [t for t in self.d.getVar("TEST_SUITES").split() if t != "auto"]
|
||||
|
||||
def loadTests(self):
|
||||
super(RuntimeTestContext, self).loadTests()
|
||||
if oeTest.hasPackage("procps"):
|
||||
oeRuntimeTest.pscmd = "ps -ef"
|
||||
|
||||
def extract_packages(self):
|
||||
"""
|
||||
Find packages that will be needed during runtime.
|
||||
|
||||
Reference in New Issue
Block a user