sanitycheck: properly identify when QEMU crashes out
This had been erroneously reported as a build error. Issue: ZEP-1460 Change-Id: Idddaf833011beb1165bd766dd115c021c5b90cdf Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
d01535cbb6
commit
822b08711f
1 changed files with 8 additions and 1 deletions
|
@ -851,7 +851,14 @@ class MakeGenerator:
|
|||
|
||||
|
||||
if error:
|
||||
goal.fail("build_error")
|
||||
# Sometimes QEMU will run an image and then crash out, which
|
||||
# will cause the 'make qemu' invocation to exit with
|
||||
# nonzero status.
|
||||
# Need to distinguish this case from a compilation failure.
|
||||
if goal.qemu:
|
||||
goal.fail("qemu_crash")
|
||||
else:
|
||||
goal.fail("build_error")
|
||||
else:
|
||||
if state == "finished":
|
||||
if goal.qemu:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue