Commit 01d513da authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

kernel32/tests: Don't skip the sorting tests on Windows.

Only skip them in Wine since it's missing a compatible collation table. Signed-off-by: 's avatarFrancois Gouget <fgouget@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent da86e50e
......@@ -3093,6 +3093,13 @@ static void test_sorting(void)
assert(sizeof(buf) >= sizeof(strings));
/* this requires the 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");
return;
}
/* 1. sort using lstrcmpA */
memcpy(buf, strings, sizeof(strings));
qsort(buf, ARRAY_SIZE(strings), sizeof(strings[0]), compare_string1);
......@@ -7183,6 +7190,5 @@ START_TEST(locale)
test_SpecialCasing();
test_NLSVersion();
test_geo_name();
/* this requires collation table patch to make it MS compatible */
if (0) test_sorting();
test_sorting();
}
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