From: Behdad Esfahbod Date: Wed, 14 Nov 2012 19:38:50 +0000 (-0800) Subject: Adjust diff rule for the new hb-shape output format X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b19fa48621dbf36d471d5005f6ae20df350954f;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Adjust diff rule for the new hb-shape output format --- diff --git a/test/shaping/hb_test_tools.py b/test/shaping/hb_test_tools.py index 6139ec1..ccb0e1c 100644 --- a/test/shaping/hb_test_tools.py +++ b/test/shaping/hb_test_tools.py @@ -295,7 +295,7 @@ class DiffHelpers: def test_passed (lines): lines = list (lines) # XXX This is a hack, but does the job for now. - if any (l.find("space|space") >= 0 for l in lines if l[0] == '+'): return True + if any (l.find("space+0|space+0") >= 0 for l in lines if l[0] == '+'): return True if any (l.find("uni25CC") >= 0 for l in lines if l[0] == '+'): return True if any (l.find("dottedcircle") >= 0 for l in lines if l[0] == '+'): return True if any (l.find("glyph0") >= 0 for l in lines if l[0] == '+'): return True