summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-10 14:41:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-10 14:44:41 +0000
commit702f4692a25c670d7d14da106f545b86e55473ce (patch)
treef5b7e4f36dd8c1ed81a94d462432076980d064fc /meta
parenta344ed73e3848cc47db739e260b6a03a209748d9 (diff)
downloadpoky-702f4692a25c670d7d14da106f545b86e55473ce.tar.gz
testimage: Ensure full logs are shown for failures
Currently, the fact an error message is shown means the rest of the task logs are suppressed. In this case we don't want that as it hides the real errors and useful information. Therefore override this behaviour. (From OE-Core rev: 7058ac23c5ce32fbdc4be6c05f85550e1fd9fe77) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/testimage.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index b955fc1775..45bb2bda3b 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -291,11 +291,11 @@ def testimage_main(d):
291 291
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, forcelog=True)
295 results.logDetails() 295 results.logDetails()
296 results.logSummary(pn) 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, forcelog=True)
299 299
300def get_runtime_paths(d): 300def get_runtime_paths(d):
301 """ 301 """