Module: tools Branch: master Commit: d11d6402c2953d7073e992f3b99b1cad4da7a9d2 URL: http://source.winehq.org/git/tools.git/?a=commit;h=d11d6402c2953d7073e992f3b...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Sat Nov 29 13:09:25 2008 +0100
winetest: Fix detection of crashes in tests with child processes.
---
winetest/dissect | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/winetest/dissect b/winetest/dissect index 9a00d8e..2ecedef 100755 --- a/winetest/dissect +++ b/winetest/dissect @@ -248,7 +248,7 @@ while (<IN>) { $box->{data} .= sprintf "<div class="%s">%s</div>\n", $class, escapeHTML($_); } elsif (/$dll:$unit done ((-?\d+))\r?$/) { chomp; # current test ended - if ($lines==0) { + if ($lines==0 || $1 < 0) { $result = "failed $1 - -"; my $reason = "test failed: error $1"; if ($1 == 258) { $reason = "test failed: timed out"; }