"Huang, Zhangrong" hzhrong@gmail.com writes:
This pacth add tests for GdiGetCodePage, which currently don't pass on WIne.
ChangeLog gdi32/tests: Add tests for GdiGetCodePage.
It doesn't work here:
../../../tools/runtest -q -P wine -M gdi32.dll -T ../../.. -p gdi32_test.exe.so font.c && touch font.ok font.c:833: Test succeeded inside todo block: data index 2: GdiGetCodePage should have returned 1252, got 1252 font.c:833: Test succeeded inside todo block: data index 3: GdiGetCodePage should have returned 1252, got 1252 font.c:830: Test failed: data index 14: expected font codepage 42, got 1252 font.c:833: Test succeeded inside todo block: data index 15: GdiGetCodePage should have returned 1253, got 1253 font.c:833: Test succeeded inside todo block: data index 16: GdiGetCodePage should have returned 1251, got 1251 font.c:830: Test failed: data index 17: expected font codepage 936, got 1252 font.c:1559: Tests skipped: Symbol or Wingdings is not installed font.c:1575: Tests skipped: Symbol or Wingdings is not installed font.c:1729: Tests skipped: Symbol is not installed font.c:2507: Tests skipped: Arial Black or Symbol/Wingdings is not installed font.c:1955: Tests skipped: Font DejaVu Sans doesn't contain 'x', skipping the test font.c:1955: Tests skipped: Font DejaVu Sans Condensed doesn't contain 'x', skipping the test font.c:1955: Tests skipped: Font OpenSymbol doesn't contain 'x', skipping the test make[2]: *** [font.ok] Error 6
Hi,
2008/7/3 Alexandre Julliard julliard@winehq.org:
It doesn't work here:
../../../tools/runtest -q -P wine -M gdi32.dll -T ../../.. -p gdi32_test.exe.so font.c && touch font.ok font.c:830: Test failed: data index 14: expected font codepage 42, got 1252 font.c:830: Test failed: data index 17: expected font codepage 936, got 1252
That's because test GetTextCharset failed.
Should I comment out this test or change to:
ok( csi.ciACP == gd[i].font_text_cp && cp == gd[i].expected_cp, .....);
make[2]: *** [font.ok] Error 6