]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: Improve error handling/exit codes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Mar 2013 11:48:53 +0000 (11:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Mar 2013 11:53:00 +0000 (11:53 +0000)
commit753533b2f338ff2ef97eebd5eace7623404ae457
tree9c9d887b24de626684c1debdbc93e0b7857baed8
parent817a8dc6424050973d8fad4f003475ac83ea6bb5
runqemu: Improve error handling/exit codes

runqemu-internal is sourced so should be returning with an error code in
case of errors. runqemu needs to deal with this.

This patch fixes up the various error paths so we're consistent and get
a sane exit status for runqemu which helps a lot in its use in the qemu
runtime testing on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu
scripts/runqemu-internal