Paul Vriens : gdi32/tests: Skip some failing tests on NT4.
Alexandre Julliard
julliard at winehq.org
Thu Sep 11 08:00:14 CDT 2008
Module: wine
Branch: master
Commit: 84266fc6f617017814f5c4d0b17d410cb1b13f17
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84266fc6f617017814f5c4d0b17d410cb1b13f17
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Wed Sep 10 17:49:52 2008 +0200
gdi32/tests: Skip some failing tests on NT4.
---
dlls/gdi32/tests/icm.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/gdi32/tests/icm.c b/dlls/gdi32/tests/icm.c
index b36165c..424082c 100644
--- a/dlls/gdi32/tests/icm.c
+++ b/dlls/gdi32/tests/icm.c
@@ -130,6 +130,15 @@ static void test_GetICMProfileW( HDC dc )
static void test_SetICMMode( HDC dc )
{
INT ret, knob, save;
+ BOOL impl;
+
+ SetLastError( 0xdeadbeef );
+ impl = GetICMProfileA( NULL, NULL, NULL );
+ if ( !impl && ( GetLastError() == ERROR_CALL_NOT_IMPLEMENTED ) )
+ {
+ skip( "On NT4 where SetICMMode is not implemented but this is not advertised\n" );
+ return;
+ }
SetLastError( 0xdeadbeef );
ret = SetICMMode( NULL, 0 );
More information about the wine-cvs
mailing list