summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 13:28:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 23:28:22 +0100
commit5b3ff562b2c56df301fc402c8b84420d8d4e5705 (patch)
tree271f3d8e129c7899dfbc5bcaada34dd06fff7242 /meta/lib
parent5302b7b8fa1349ae99040fe8fdcc4e42c722cc10 (diff)
downloadopenembedded-core-5b3ff562b2c56df301fc402c8b84420d8d4e5705.tar.gz
openembedded-core-5b3ff562b2c56df301fc402c8b84420d8d4e5705.tar.bz2
openembedded-core-5b3ff562b2c56df301fc402c8b84420d8d4e5705.zip
qemurunner: Show last 25 line of log, not 5
For debugging purposes, 5 lines often isn't useful as it doesn't even cover a full backtrace. Show 25 instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 71da21c779..7f8331ad27 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -160,8 +160,8 @@ class QemuRunner:
if not reachedlogin:
logger.info("Target didn't reached login boot in %d seconds" % self.boottime)
- lines = "\n".join(self.bootlog.splitlines()[-5:])
- logger.info("Last 5 lines of text:\n%s" % lines)
+ lines = "\n".join(self.bootlog.splitlines()[-25:])
+ logger.info("Last 25 lines of text:\n%s" % lines)
logger.info("Check full boot log: %s" % self.logfile)
self.stop()
return False