Paul Vriens : winetest: Fix detection of crashes in tests with child processes.
Alexandre Julliard
julliard at winehq.org
Mon Dec 1 09:22:31 CST 2008
Module: tools
Branch: master
Commit: d11d6402c2953d7073e992f3b99b1cad4da7a9d2
URL: http://source.winehq.org/git/tools.git/?a=commit;h=d11d6402c2953d7073e992f3b99b1cad4da7a9d2
Author: Paul Vriens <Paul.Vriens.Wine at 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"; }
More information about the wine-cvs
mailing list