Commit c6442818 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

serialui/tests: Use win_skip() to skip over unimplemented functionality.

parent 292a1042
...@@ -96,7 +96,7 @@ static void test_drvCommConfigDialogA(void) ...@@ -96,7 +96,7 @@ static void test_drvCommConfigDialogA(void)
res = pGetDefaultCommConfigA(bufferA, pCC, &len); res = pGetDefaultCommConfigA(bufferA, pCC, &len);
if (res == ERROR_CALL_NOT_IMPLEMENTED) { if (res == ERROR_CALL_NOT_IMPLEMENTED) {
/* NT does not implement the ANSI API */ /* NT does not implement the ANSI API */
skip("*A not implemented\n"); win_skip("*A not implemented\n");
return; return;
} }
...@@ -171,7 +171,7 @@ static void test_drvCommConfigDialogW(void) ...@@ -171,7 +171,7 @@ static void test_drvCommConfigDialogW(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = pGetDefaultCommConfigW(bufferW, pCC, &len); res = pGetDefaultCommConfigW(bufferW, pCC, &len);
if (res == ERROR_CALL_NOT_IMPLEMENTED) { if (res == ERROR_CALL_NOT_IMPLEMENTED) {
skip("*W not implemented\n"); win_skip("*W not implemented\n");
return; return;
} }
...@@ -244,7 +244,7 @@ static void test_drvGetDefaultCommConfigA(void) ...@@ -244,7 +244,7 @@ static void test_drvGetDefaultCommConfigA(void)
res = pGetDefaultCommConfigA(com1A, pCC, &len); res = pGetDefaultCommConfigA(com1A, pCC, &len);
if (res == ERROR_CALL_NOT_IMPLEMENTED) { if (res == ERROR_CALL_NOT_IMPLEMENTED) {
/* NT does not implement the ANSI API */ /* NT does not implement the ANSI API */
skip("*A not implemented\n"); win_skip("*A not implemented\n");
return; return;
} }
ok( (res == ERROR_INSUFFICIENT_BUFFER) && (len >= i), ok( (res == ERROR_INSUFFICIENT_BUFFER) && (len >= i),
...@@ -336,7 +336,7 @@ static void test_drvGetDefaultCommConfigW(void) ...@@ -336,7 +336,7 @@ static void test_drvGetDefaultCommConfigW(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = pGetDefaultCommConfigW(com1W, pCC, &len); res = pGetDefaultCommConfigW(com1W, pCC, &len);
if (res == ERROR_CALL_NOT_IMPLEMENTED) { if (res == ERROR_CALL_NOT_IMPLEMENTED) {
skip("*W not implemented\n"); win_skip("*W not implemented\n");
return; return;
} }
ok( (res == ERROR_INSUFFICIENT_BUFFER) && (len >= i), ok( (res == ERROR_INSUFFICIENT_BUFFER) && (len >= i),
...@@ -419,7 +419,7 @@ START_TEST(confdlg) ...@@ -419,7 +419,7 @@ START_TEST(confdlg)
ptr = load_functions(); ptr = load_functions();
if (ptr) { if (ptr) {
skip("got NULL with %u for %s\n", GetLastError(), ptr); win_skip("got NULL with %u for %s\n", GetLastError(), ptr);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment