summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-07 15:36:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-09 14:27:44 +0100
commite3b5d8f42c0e8d0b87d561fbcf56fdb050dd2353 (patch)
treedc90732826f2f1f738be8b7ba392d2701540e476 /meta/lib/oeqa/utils
parentfa2f7f996457cb1c506be5584178db250a3b1a2c (diff)
downloadpoky-e3b5d8f42c0e8d0b87d561fbcf56fdb050dd2353.tar.gz
qemurunner: Drop error to a warning to improve user feedback
If a task shows an error, the full log is surpressed since bitbake assumes the user has been shown what is wrong. In this code path that isn't the case and its much more helpful to show the user the full error. Therefore show a warning instead to aid usability. (From OE-Core rev: 4ccef5543649262a1630bff586ef9048fe164016) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 2d485379e8..a137b11f40 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -361,7 +361,7 @@ class QemuRunner:
361 361
362 def _dump_host(self): 362 def _dump_host(self):
363 self.host_dumper.create_dir("qemu") 363 self.host_dumper.create_dir("qemu")
364 logger.error("Qemu ended unexpectedly, dump data from host" 364 logger.warn("Qemu ended unexpectedly, dump data from host"
365 " is in %s" % self.host_dumper.dump_dir) 365 " is in %s" % self.host_dumper.dump_dir)
366 self.host_dumper.dump_host() 366 self.host_dumper.dump_host()
367 367