mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c7600278b6
commit
b4b9e22c40
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user