diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-16 13:14:45 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-17 07:47:07 +0100 |
| commit | 0a67a4d40fd0f6be89c9403101b66b58933f1940 (patch) | |
| tree | 0826de35995f29e551dd57550c9056323450835c | |
| parent | 72631cd3689f2eafe63ba4a43cc573a535c1ec1b (diff) | |
| download | poky-0a67a4d40fd0f6be89c9403101b66b58933f1940.tar.gz | |
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>
| -rw-r--r-- | meta/lib/oeqa/oetest.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 9c84466dd0..cf2cb30a3e 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
| @@ -57,7 +57,6 @@ def filterByTagExp(testsuite, tagexp): | |||
| 57 | @LogResults | 57 | @LogResults |
| 58 | class oeTest(unittest.TestCase): | 58 | class oeTest(unittest.TestCase): |
| 59 | 59 | ||
| 60 | pscmd = "ps" | ||
| 61 | longMessage = True | 60 | longMessage = True |
| 62 | 61 | ||
| 63 | @classmethod | 62 | @classmethod |
| @@ -398,11 +397,6 @@ class RuntimeTestContext(TestContext): | |||
| 398 | def _get_test_suites_required(self): | 397 | def _get_test_suites_required(self): |
| 399 | return [t for t in self.d.getVar("TEST_SUITES").split() if t != "auto"] | 398 | return [t for t in self.d.getVar("TEST_SUITES").split() if t != "auto"] |
| 400 | 399 | ||
| 401 | def loadTests(self): | ||
| 402 | super(RuntimeTestContext, self).loadTests() | ||
| 403 | if oeTest.hasPackage("procps"): | ||
| 404 | oeRuntimeTest.pscmd = "ps -ef" | ||
| 405 | |||
| 406 | def extract_packages(self): | 400 | def extract_packages(self): |
| 407 | """ | 401 | """ |
| 408 | Find packages that will be needed during runtime. | 402 | Find packages that will be needed during runtime. |
