diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-05-26 15:37:32 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-30 10:15:22 +0100 |
commit | 33a783f59ed4e232f41f8b09dfa7955f2ddc2f80 (patch) | |
tree | d83cf224821d4089d306ce067bd1f49686b0e35f /meta/classes/testimage.bbclass | |
parent | 63606ffaaac1b84ddcad8a1c1006f8110050e20e (diff) | |
download | openembedded-core-contrib-33a783f59ed4e232f41f8b09dfa7955f2ddc2f80.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]
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/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index fb214604a9..d42907cf80 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -292,8 +292,8 @@ def testimage_main(d): # Show results (if we have them) if not results: bb.fatal('%s - FAILED - tests were interrupted during execution' % pn) - tc.logSummary(results, pn) - tc.logDetails() + results.logSummary(pn) + results.logDetails() if not results.wasSuccessful(): bb.fatal('%s - FAILED - check the task log and the ssh log' % pn) |