Detlef Riekenberg : mlang/tests: Make the tests more silent.
Alexandre Julliard
julliard at winehq.org
Wed May 27 09:26:55 CDT 2009
Module: wine
Branch: master
Commit: 6c827fa8c1271a1fd6396c330787c81fd15702fc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6c827fa8c1271a1fd6396c330787c81fd15702fc
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Wed May 27 00:19:13 2009 +0200
mlang/tests: Make the tests more silent.
---
dlls/mlang/tests/mlang.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/mlang/tests/mlang.c b/dlls/mlang/tests/mlang.c
index fdff28c..2ae7c74 100644
--- a/dlls/mlang/tests/mlang.c
+++ b/dlls/mlang/tests/mlang.c
@@ -403,7 +403,8 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
if (TranslateCharsetInfo((DWORD *)(INT_PTR)cpinfo[i].uiFamilyCodePage, &csi, TCI_SRCCODEPAGE))
ok(cpinfo[i].bGDICharset == csi.ciCharset, "%d != %d\n", cpinfo[i].bGDICharset, csi.ciCharset);
else
- trace("TranslateCharsetInfo failed for cp %u\n", cpinfo[i].uiFamilyCodePage);
+ if (winetest_debug > 1)
+ trace("TranslateCharsetInfo failed for cp %u\n", cpinfo[i].uiFamilyCodePage);
#ifdef DUMP_CP_INFO
trace("%u: codepage %u family %u\n", i, cpinfo[i].uiCodePage, cpinfo[i].uiFamilyCodePage);
@@ -431,7 +432,8 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
}
}
else
- trace("IsValidCodePage failed for cp %u\n", cpinfo[i].uiCodePage);
+ if (winetest_debug > 1)
+ trace("IsValidCodePage failed for cp %u\n", cpinfo[i].uiCodePage);
if (memcmp(cpinfo[i].wszWebCharset,feffW,sizeof(WCHAR)*11)==0)
skip("Legacy windows bug returning invalid charset of unicodeFEFF\n");
More information about the wine-cvs
mailing list