summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-06-07 11:39:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-09 17:12:15 +0100
commite9a6fd9e9779757773a172475d9725823dd3d5ff (patch)
tree3591e9f502360efc05f6c48e2110bfd94e89b2bd /meta/classes/testimage.bbclass
parent78568b3a377f7a981fa32162370341556b1c4940 (diff)
downloadpoky-e9a6fd9e9779757773a172475d9725823dd3d5ff.tar.gz
oeqa: Change the order to logDetails and logSummary
Is better to log the summary at end to see in an easy way the actual result of the test run. [YOCTO #11622] (From OE-Core rev: 4e3ab36e8c90abc740cce1ba31faf6595116e1e2) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 1185593a1b..6c33e16e3d 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 results.logSummary(pn)
296 results.logDetails() 295 results.logDetails()
296 results.logSummary(pn)
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