user32/tests: Silence some clipboard traces that generate too many lines.
Francois Gouget
fgouget at free.fr
Tue May 12 05:38:39 CDT 2015
To see them, set WINETEST_DEBUG=2 or higher.
---
dlls/user32/tests/clipboard.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/clipboard.c b/dlls/user32/tests/clipboard.c
index 40218be..01dbe93 100644
--- a/dlls/user32/tests/clipboard.c
+++ b/dlls/user32/tests/clipboard.c
@@ -150,8 +150,8 @@ todo_wine
if (format_id < 0xc000)
ok(!len, "GetClipboardFormatNameA should fail, but it returned %d (%s)\n", len, buf);
- else
- if (len) trace("%04x: %s\n", format_id, len ? buf : "");
+ else if (len && winetest_debug > 1)
+ trace("%04x: %s\n", format_id, len ? buf : "");
}
ret = OpenClipboard(0);
--
2.1.4
More information about the wine-patches
mailing list