Let run tool detect qemu failures
This commit is contained in:
parent
775b5a174b
commit
a174992e4d
1
tool/run
1
tool/run
|
@ -464,6 +464,7 @@ proc spawn_qemu { wait_for_re timeout_value } {
|
||||||
if {$wait_for_re == "forever"} { interact $pid }
|
if {$wait_for_re == "forever"} { interact $pid }
|
||||||
expect {
|
expect {
|
||||||
-re $wait_for_re { }
|
-re $wait_for_re { }
|
||||||
|
eof { puts stderr "Error: Qemu died unexpectedly"; exit -3 }
|
||||||
timeout { puts stderr "Error: Test execution timed out"; exit -2 }
|
timeout { puts stderr "Error: Test execution timed out"; exit -2 }
|
||||||
}
|
}
|
||||||
set output $expect_out(buffer)
|
set output $expect_out(buffer)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user