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-06-02 13:36:13 +0100
commitb4b9e22c40b7ce315d0286fe656581f81d965043 (patch)
tree9741e2f485ced305130ccd352151663cc6dc6cab /meta/classes/testsdk.bbclass
parentc7600278b6c39a311f822b1a7d39339bac3076c2 (diff)
downloadpoky-b4b9e22c40b7ce315d0286fe656581f81d965043.tar.gz
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] (From OE-Core rev: 33a783f59ed4e232f41f8b09dfa7955f2ddc2f80) 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):
70 component = "%s %s" % (pn, OESDKTestContextExecutor.name) 70 component = "%s %s" % (pn, OESDKTestContextExecutor.name)
71 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) 71 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env))
72 72
73 tc.logSummary(result, component, context_msg) 73 result.logSummary(component, context_msg)
74 tc.logDetails() 74 result.logDetails()
75 75
76 if not result.wasSuccessful(): 76 if not result.wasSuccessful():
77 fail = True 77 fail = True
@@ -172,8 +172,8 @@ def testsdkext_main(d):
172 component = "%s %s" % (pn, OESDKExtTestContextExecutor.name) 172 component = "%s %s" % (pn, OESDKExtTestContextExecutor.name)
173 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env)) 173 context_msg = "%s:%s" % (os.path.basename(tcname), os.path.basename(sdk_env))
174 174
175 tc.logSummary(result, component, context_msg) 175 result.logSummary(component, context_msg)
176 tc.logDetails() 176 result.logDetails()
177 177
178 if not result.wasSuccessful(): 178 if not result.wasSuccessful():
179 fail = True 179 fail = True