]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/qemurunner: fix error handling if runqemu exits with an error
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 27 Jul 2015 13:04:00 +0000 (14:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jul 2015 22:28:20 +0000 (23:28 +0100)
commit1789b89de6c4642464abadd9f8a4746385e6b4a7
tree5dbd3d69134d51b82905a69b1a863d7a7da1cc9a
parenta058d07cd7251749fa9c1c8eca3caa80144664fe
oeqa/utils/qemurunner: fix error handling if runqemu exits with an error

* Don't wait for QEMU to start if it's never going to (because runqemu
  exited with an error)
* Don't error out if killing the process fails with "no such process"
  (we don't care if it's already dead)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py