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

This commit is contained in:
Andrew Nguyen 2009-05-19 02:11:34 -05:00 committed by Alexandre Julliard
parent c293a535c0
commit 786158796b
1 changed files with 6 additions and 0 deletions

View File

@ -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);