diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-27 13:28:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-27 23:29:15 +0100 |
commit | f4f72b15ad915fb1354dcc79fe1f03d06757f5aa (patch) | |
tree | 01613fa11ecff15a91bd8b8af910952fd9990796 /meta/lib/oeqa/utils | |
parent | e3aa7a30b3ecf6d82c049cbfa92834155235883d (diff) | |
download | poky-f4f72b15ad915fb1354dcc79fe1f03d06757f5aa.tar.gz |
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.
(From OE-Core rev: 5b3ff562b2c56df301fc402c8b84420d8d4e5705)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 4 |
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: | |||
160 | 160 | ||
161 | if not reachedlogin: | 161 | if not reachedlogin: |
162 | logger.info("Target didn't reached login boot in %d seconds" % self.boottime) | 162 | logger.info("Target didn't reached login boot in %d seconds" % self.boottime) |
163 | lines = "\n".join(self.bootlog.splitlines()[-5:]) | 163 | lines = "\n".join(self.bootlog.splitlines()[-25:]) |
164 | logger.info("Last 5 lines of text:\n%s" % lines) | 164 | logger.info("Last 25 lines of text:\n%s" % lines) |
165 | logger.info("Check full boot log: %s" % self.logfile) | 165 | logger.info("Check full boot log: %s" % self.logfile) |
166 | self.stop() | 166 | self.stop() |
167 | return False | 167 | return False |