]> code.ossystems Code Review - openembedded-core.git/commit
classes/testimage: if start fails, don't try to stop
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 Apr 2014 12:32:01 +0000 (13:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Apr 2014 20:52:12 +0000 (21:52 +0100)
commit819ebddae6b78120e5e082423793ff988419b5c4
tree48e370b5309af63bc3699e86e915fe4497970628
parentc2257fa50071e4704a8152b5f1d16f899b4bed98
classes/testimage: if start fails, don't try to stop

If we couldn't start the target, it doesn't make sense to try and stop
it here since logically it shouldn't now be in any kind of "started"
state. (It's the start function's job to clean up after itself if it
fails - to that end, fix up the QemuTarget class so that it does.)

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