diff options
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 24548e9267..5777ff8852 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -9,7 +9,8 @@ def runTests(tc): | |||
9 | 9 | ||
10 | # set the context object passed from the test class | 10 | # set the context object passed from the test class |
11 | setattr(oeRuntimeTest, "tc", tc) | 11 | setattr(oeRuntimeTest, "tc", tc) |
12 | 12 | # set ps command to use | |
13 | setattr(oeRuntimeTest, "pscmd", "ps -ef" if oeRuntimeTest.hasPackage("procps") else "ps") | ||
13 | # prepare test suite, loader and runner | 14 | # prepare test suite, loader and runner |
14 | suite = unittest.TestSuite() | 15 | suite = unittest.TestSuite() |
15 | testloader = unittest.TestLoader() | 16 | testloader = unittest.TestLoader() |
@@ -30,7 +31,6 @@ class oeRuntimeTest(unittest.TestCase): | |||
30 | testFailures = [] | 31 | testFailures = [] |
31 | testSkipped = [] | 32 | testSkipped = [] |
32 | testErrors = [] | 33 | testErrors = [] |
33 | pscmd = "ps" | ||
34 | 34 | ||
35 | def __init__(self, methodName='runTest'): | 35 | def __init__(self, methodName='runTest'): |
36 | self.target = oeRuntimeTest.tc.target | 36 | self.target = oeRuntimeTest.tc.target |
@@ -74,7 +74,6 @@ class oeRuntimeTest(unittest.TestCase): | |||
74 | 74 | ||
75 | 75 | ||
76 | 76 | ||
77 | |||
78 | def getmodule(pos=2): | 77 | def getmodule(pos=2): |
79 | # stack returns a list of tuples containg frame information | 78 | # stack returns a list of tuples containg frame information |
80 | # First element of the list the is current frame, caller is 1 | 79 | # First element of the list the is current frame, caller is 1 |