winetest: Always report errors and fatal errors, even in quiet mode.
Francois Gouget
fgouget at free.fr
Wed Dec 28 03:42:11 CST 2011
---
Errors should always be reported otherwise one does not have the
information needed to understand why 'winetest -q -t
fg-win7u64-1spie9-adm ...' does not work while all the other similar
commands do.
programs/winetest/gui.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/programs/winetest/gui.c b/programs/winetest/gui.c
index a9f3465..d5e3e27 100644
--- a/programs/winetest/gui.c
+++ b/programs/winetest/gui.c
@@ -402,12 +402,6 @@ qNoOp (va_list ap)
}
static int
-qFatal (va_list ap)
-{
- exit (1);
-}
-
-static int
qAsk (va_list ap)
{
return MBdefault (va_arg (ap, int));
@@ -507,7 +501,7 @@ report (enum report_type t, ...)
static r_fun_t * const quiet_funcs[] =
{qNoOp, qNoOp, qNoOp, qNoOp,
qNoOp, qNoOp, qNoOp,
- qNoOp, qNoOp, qFatal, qAsk};
+ qNoOp, textError, textFatal, qAsk};
static r_fun_t * const * funcs = NULL;
switch (t) {
--
1.7.7.3
More information about the wine-patches
mailing list