From 1dc4c151d7b96e04aab4ac00c3d9767dbb05b4e8 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Mon, 12 Dec 2011 07:31:45 -0600 Subject: [PATCH] usp10/tests: Check broken value for script tag as well. --- dlls/usp10/tests/usp10.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c index 5f47903699d..74fe334838c 100644 --- a/dlls/usp10/tests/usp10.c +++ b/dlls/usp10/tests/usp10.c @@ -117,7 +117,9 @@ static inline void _test_items_ok(LPCWSTR string, DWORD cchString, winetest_ok(outpItems[x].a.eScript != SCRIPT_UNDEFINED, "%i: Undefined script\n",x); if (pScriptItemizeOpenType) { - if (items[x].todo_flag[4]) + if (items[x].isBroken && broken(tags[x] == items[x].broken_value[4])) + winetest_win_skip("This test broken on this platform\n"); + else if (items[x].todo_flag[4]) todo_wine winetest_ok(tags[x] == items[x].scriptTag,"%i:Incorrect Script Tag %x != %x\n",x,tags[x],items[x].scriptTag); else winetest_ok(tags[x] == items[x].scriptTag,"%i:Incorrect Script Tag %x != %x\n",x,tags[x],items[x].scriptTag);