Aric Stewart : usp10/tests: Check broken value for script tag as well.

Alexandre Julliard julliard at winehq.org
Mon Dec 12 12:25:55 CST 2011


Module: wine
Branch: master
Commit: 1dc4c151d7b96e04aab4ac00c3d9767dbb05b4e8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1dc4c151d7b96e04aab4ac00c3d9767dbb05b4e8

Author: Aric Stewart <aric at codeweavers.com>
Date:   Mon Dec 12 07:31:45 2011 -0600

usp10/tests: Check broken value for script tag as well.

---

 dlls/usp10/tests/usp10.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 5f47903..74fe334 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);




More information about the wine-cvs mailing list