Alexandre Julliard : winetest: Store the error message into the directory of the report that we failed to dissect .
Alexandre Julliard
julliard at winehq.org
Fri May 30 13:44:04 CDT 2008
Module: tools
Branch: master
Commit: 377b415215945a3029b6238f8e549c58dc9fc3a6
URL: http://source.winehq.org/git/tools.git/?a=commit;h=377b415215945a3029b6238f8e549c58dc9fc3a6
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri May 30 20:19:50 2008 +0200
winetest: Store the error message into the directory of the report that we failed to dissect.
---
winetest/dissect | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/winetest/dissect b/winetest/dissect
index bbfe982..8a46e27 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -53,6 +53,11 @@ sub mydie(@) {
print STDERR "$name0:error: unable to rename '$tmpdir' to '$errdir': $!\n";
exit 3;
}
+ if (open ERR, ">$errdir/error")
+ {
+ print ERR "$name0:error:$errdir: ", @_;
+ close ERR;
+ }
print STDERR "$name0:error:$errdir: ", @_;
exit 1;
}
More information about the wine-cvs
mailing list