diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 5552c4322e..ed8b3b2ffa 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -23,7 +23,7 @@ def loadTests(tc, type="runtime"): | |||
23 | suite = unittest.TestSuite() | 23 | suite = unittest.TestSuite() |
24 | elif type == "sdk": | 24 | elif type == "sdk": |
25 | # set the context object passed from the test class | 25 | # set the context object passed from the test class |
26 | setattr(oeSDKTest, "tc", tc) | 26 | setattr(oeTest, "tc", tc) |
27 | testloader = unittest.TestLoader() | 27 | testloader = unittest.TestLoader() |
28 | testloader.sortTestMethodsUsing = None | 28 | testloader.sortTestMethodsUsing = None |
29 | suite = testloader.loadTestsFromNames(tc.testslist) | 29 | suite = testloader.loadTestsFromNames(tc.testslist) |
@@ -66,7 +66,7 @@ class oeRuntimeTest(oeTest): | |||
66 | self.target = oeRuntimeTest.tc.target | 66 | self.target = oeRuntimeTest.tc.target |
67 | super(oeRuntimeTest, self).__init__(methodName) | 67 | super(oeRuntimeTest, self).__init__(methodName) |
68 | 68 | ||
69 | class oeSDKTest(unittest.TestCase): | 69 | class oeSDKTest(oeTest): |
70 | def __init__(self, methodName='runTest'): | 70 | def __init__(self, methodName='runTest'): |
71 | self.sdktestdir = oeSDKTest.tc.sdktestdir | 71 | self.sdktestdir = oeSDKTest.tc.sdktestdir |
72 | super(oeSDKTest, self).__init__(methodName) | 72 | super(oeSDKTest, self).__init__(methodName) |