kernel32/tests: Don't skip the CompareStringA() tests on Windows.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bf6ac26f75
commit
2e89691bb6
|
@ -1903,9 +1903,13 @@ static void test_CompareStringA(void)
|
||||||
|
|
||||||
ret = lstrcmpA(NULL, "");
|
ret = lstrcmpA(NULL, "");
|
||||||
ok (ret == -1 || broken(ret == -2) /* win9x */, "lstrcmpA(NULL, \"\") should return -1, got %d\n", ret);
|
ok (ret == -1 || broken(ret == -2) /* win9x */, "lstrcmpA(NULL, \"\") should return -1, got %d\n", ret);
|
||||||
|
|
||||||
|
|
||||||
if (0) { /* this requires collation table patch to make it MS compatible */
|
|
||||||
|
/* this requires collation table patch to make it MS compatible */
|
||||||
|
if (strcmp(winetest_platform, "wine") == 0)
|
||||||
|
skip("in Wine due to the lack of a compatible collation table\n");
|
||||||
|
else
|
||||||
|
{
|
||||||
ret = CompareStringA(LOCALE_SYSTEM_DEFAULT, 0, "'o", -1, "-o", -1 );
|
ret = CompareStringA(LOCALE_SYSTEM_DEFAULT, 0, "'o", -1, "-o", -1 );
|
||||||
ok(ret == CSTR_LESS_THAN, "'o vs -o expected CSTR_LESS_THAN, got %d\n", ret);
|
ok(ret == CSTR_LESS_THAN, "'o vs -o expected CSTR_LESS_THAN, got %d\n", ret);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue