Module: wine Branch: master Commit: 786158796b14bdd752734bf50cd85f00f3beab0d URL: http://source.winehq.org/git/wine.git/?a=commit;h=786158796b14bdd752734bf50c...
Author: Andrew Nguyen arethusa26@gmail.com Date: Tue May 19 02:11:34 2009 -0500
kernel32/tests: Correctly skip when the Unicode communications functions are not available.
---
dlls/kernel32/tests/comm.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/comm.c b/dlls/kernel32/tests/comm.c index 99fe505..8cd07ad 100644 --- a/dlls/kernel32/tests/comm.c +++ b/dlls/kernel32/tests/comm.c @@ -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);