]> code.ossystems Code Review - openembedded-core.git/commit
qemurunner: Shut down logging thread successfully when test fails
authorRandy Witt <randy.e.witt@linux.intel.com>
Tue, 25 Aug 2015 20:58:47 +0000 (13:58 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Aug 2015 22:23:33 +0000 (23:23 +0100)
commit6497fddf7f6c4a59e16dab4a9daeb3614a61a8dc
treef74f7f2521fa870a9170ca2a744f1d57f9e16417
parentdbfb2efcd7240a0a6a413f1b37c399b66fa79ca9
qemurunner: Shut down logging thread successfully when test fails

Before this change on a test failure an exception would be generated due
to runqemu being killed before the logging thread which was on the other
end of the socket.

The exception was actually correct saying there was no data on a socket
marked readable, but this was because the qemu process was killed before
the listener thread.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py