Permalink
Browse files

Let run tool detect qemu failures

  • Loading branch information...
1 parent 775b5a1 commit a174992e4dc7719cca3d6070f3eab2a033728a8e @nfeske nfeske committed Aug 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 tool/run
View
@@ -464,6 +464,7 @@ proc spawn_qemu { wait_for_re timeout_value } {
if {$wait_for_re == "forever"} { interact $pid }
expect {
-re $wait_for_re { }
+ eof { puts stderr "Error: Qemu died unexpectedly"; exit -3 }
timeout { puts stderr "Error: Test execution timed out"; exit -2 }
}
set output $expect_out(buffer)

0 comments on commit a174992

Please sign in to comment.