summaryrefslogtreecommitdiffstats
path: root/meta/classes/testsdk.bbclass
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-05-26 15:37:32 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-30 10:15:22 +0100
commit33a783f59ed4e232f41f8b09dfa7955f2ddc2f80 (patch)
treed83cf224821d4089d306ce067bd1f49686b0e35f /meta/classes/testsdk.bbclass
parent63606ffaaac1b84ddcad8a1c1006f8110050e20e (diff)
downloadopenembedded-core-33a783f59ed4e232f41f8b09dfa7955f2ddc2f80.tar.gz
openembedded-core-33a783f59ed4e232f41f8b09dfa7955f2ddc2f80.tar.bz2
openembedded-core-33a783f59ed4e232f41f8b09dfa7955f2ddc2f80.zip
oeqa/core: Move OETestContext.log{Summary, Details} into OETestResult
Those methods are used to write in the log the results so it makes sense to have defined at OETestResult because is a format of the result itself. [YOCTO #11450] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testsdk.bbclass')
-rw-r--r--meta/classes/testsdk.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass
index 4740233910..edea89cbf4 100644
--- a/meta/classes/testsdk.bbclass
+++ b/meta/classes/testsdk.bbclass
@@ -70,8 +70,8 @@ def testsdk_main(d):
component = "%s %s" % (pn, OESDKTestContextExecutor.name)
context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env))
- tc.logSummary(result, component, context_msg)
- tc.logDetails()
+ result.logSummary(component, context_msg)
+ result.logDetails()
if not result.wasSuccessful():
fail = True
@@ -172,8 +172,8 @@ def testsdkext_main(d):
component = "%s %s" % (pn, OESDKExtTestContextExecutor.name)
context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env))
- tc.logSummary(result, component, context_msg)
- tc.logDetails()
+ result.logSummary(component, context_msg)
+ result.logDetails()
if not result.wasSuccessful():
fail = True