summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/oetest.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py
index 3809ed722b..fc1e8b514d 100644
--- a/meta/lib/oeqa/oetest.py
+++ b/meta/lib/oeqa/oetest.py
@@ -386,11 +386,12 @@ class ImageTestContext(TestContext):
386 setattr(oeRuntimeTest, "pscmd", "ps -ef" if oeTest.hasPackage("procps") else "ps") 386 setattr(oeRuntimeTest, "pscmd", "ps -ef" if oeTest.hasPackage("procps") else "ps")
387 387
388class SDKTestContext(TestContext): 388class SDKTestContext(TestContext):
389 def __init__(self, d, sdktestdir, sdkenv, *args): 389 def __init__(self, d, sdktestdir, sdkenv, tcname, *args):
390 super(SDKTestContext, self).__init__(d) 390 super(SDKTestContext, self).__init__(d)
391 391
392 self.sdktestdir = sdktestdir 392 self.sdktestdir = sdktestdir
393 self.sdkenv = sdkenv 393 self.sdkenv = sdkenv
394 self.tcname = tcname
394 395
395 if not hasattr(self, 'target_manifest'): 396 if not hasattr(self, 'target_manifest'):
396 self.target_manifest = d.getVar("SDK_TARGET_MANIFEST", True) 397 self.target_manifest = d.getVar("SDK_TARGET_MANIFEST", True)
@@ -419,7 +420,7 @@ class SDKTestContext(TestContext):
419 "auto").split() if t != "auto"] 420 "auto").split() if t != "auto"]
420 421
421class SDKExtTestContext(SDKTestContext): 422class SDKExtTestContext(SDKTestContext):
422 def __init__(self, d, sdktestdir, sdkenv, *args): 423 def __init__(self, d, sdktestdir, sdkenv, tcname, *args):
423 self.target_manifest = d.getVar("SDK_EXT_TARGET_MANIFEST", True) 424 self.target_manifest = d.getVar("SDK_EXT_TARGET_MANIFEST", True)
424 self.host_manifest = d.getVar("SDK_EXT_HOST_MANIFEST", True) 425 self.host_manifest = d.getVar("SDK_EXT_HOST_MANIFEST", True)
425 if args: 426 if args:
@@ -427,7 +428,7 @@ class SDKExtTestContext(SDKTestContext):
427 else: 428 else:
428 self.cm = False 429 self.cm = False
429 430
430 super(SDKExtTestContext, self).__init__(d, sdktestdir, sdkenv) 431 super(SDKExtTestContext, self).__init__(d, sdktestdir, sdkenv, tcname)
431 432
432 self.sdkextfilesdir = os.path.join(os.path.dirname(os.path.abspath( 433 self.sdkextfilesdir = os.path.join(os.path.dirname(os.path.abspath(
433 oeqa.sdkext.__file__)), "files") 434 oeqa.sdkext.__file__)), "files")