Commit 78615879 authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

kernel32/tests: Correctly skip when the Unicode communications functions are not available.

parent c293a535
......@@ -571,7 +571,10 @@ static void test_BuildCommDCBW(TEST *ptest, int initial_value, DCB *pexpected_dc
result = BuildCommDCBW(wide_string, &dcb);
if(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("BuildCommDCBW is not available\n");
return;
}
/* check results */
check_result("BuildCommDCBW", ptest, initial_value, result);
......@@ -595,7 +598,10 @@ static void test_BuildCommDCBAndTimeoutsW(TEST *ptest, int initial_value, DCB *p
result = BuildCommDCBAndTimeoutsW(wide_string, &dcb, &timeouts);
if(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("BuildCommDCBAndTimeoutsW is not available\n");
return;
}
/* check results */
check_result("BuildCommDCBAndTimeoutsA", ptest, initial_value, result);
......
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