shlwapi/tests: Silence some istream traces that generate too many lines.

Francois Gouget fgouget at free.fr
Tue May 12 05:38:35 CDT 2015


To see them, set WINETEST_DEBUG=2 or higher.
---
 dlls/shlwapi/tests/istream.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/shlwapi/tests/istream.c b/dlls/shlwapi/tests/istream.c
index 95485b9..48a292a 100644
--- a/dlls/shlwapi/tests/istream.c
+++ b/dlls/shlwapi/tests/istream.c
@@ -483,7 +483,8 @@ static void test_SHCreateStreamOnFileEx(DWORD mode, DWORD stgm)
     static const CHAR testEx_txt[] = "\\testEx.txt";
     BOOL delret;
 
-    trace("SHCreateStreamOnFileEx: testing mode %d, STGM flags %08x\n", mode, stgm);
+    if (winetest_debug > 1)
+        trace("SHCreateStreamOnFileEx: testing mode %d, STGM flags %08x\n", mode, stgm);
 
     /* Don't used a fixed path for the testEx.txt file */
     GetTempPathA(MAX_PATH, test_fileA);
-- 
2.1.4




More information about the wine-patches mailing list