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-06-02 13:36:13 +0100 |
commit | b4b9e22c40b7ce315d0286fe656581f81d965043 (patch) | |
tree | 9741e2f485ced305130ccd352151663cc6dc6cab /meta/classes/testimage.bbclass | |
parent | c7600278b6c39a311f822b1a7d39339bac3076c2 (diff) | |
download | poky-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/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): | |||
292 | # Show results (if we have them) | 292 | # Show results (if we have them) |
293 | if not results: | 293 | if not results: |
294 | bb.fatal('%s - FAILED - tests were interrupted during execution' % pn) | 294 | bb.fatal('%s - FAILED - tests were interrupted during execution' % pn) |
295 | tc.logSummary(results, pn) | 295 | results.logSummary(pn) |
296 | tc.logDetails() | 296 | results.logDetails() |
297 | if not results.wasSuccessful(): | 297 | if not results.wasSuccessful(): |
298 | bb.fatal('%s - FAILED - check the task log and the ssh log' % pn) | 298 | bb.fatal('%s - FAILED - check the task log and the ssh log' % pn) |
299 | 299 | ||