From b98f6917669a7f892a508938691be9c6beabd649 Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Thu, 24 Nov 2011 09:14:37 -0800 Subject: [PATCH] Add reftest annotations for failure state on Mac OS X 10.7 (Lion) so we can enable the reftest suite on Lion unit test machines. (Bug 700503) This marks 4 gradient-related tests previously marked as failing on Mac as failing on only 10.5 and 10.6, since they pass on 10.7. It also marks one Arabic-shaping-related test as failing, for which bug 705044 has been filed. --- layout/reftests/bugs/reftest.list | 2 +- layout/reftests/canvas/reftest.list | 4 ++-- layout/reftests/css-gradients/reftest.list | 2 +- layout/reftests/svg/smil/transform/reftest.list | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index dda8f3b9b906..af2dc02eeea2 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -1450,7 +1450,7 @@ random-if(d2d) == 523468-1.html 523468-1-ref.html == 534804-1.html 534804-1-ref.html == 534808-1.html 534808-1-ref.html == 534808-2.html 534808-2-ref.html -== 534919-1.html 534919-1-ref.html +fails-if(/Mac\x20OS\x20X\x2010\.7/.test(http.oscpu)) == 534919-1.html 534919-1-ref.html # Bug 705044 random == 536061.html 536061-ref.html # fixedpoint division in blur code makes this fail == 537507-1.xul 537507-1-ref.xul == 537507-2.html 537507-2-ref.html diff --git a/layout/reftests/canvas/reftest.list b/layout/reftests/canvas/reftest.list index 1b9a4f863f59..b1ef058dbc6b 100644 --- a/layout/reftests/canvas/reftest.list +++ b/layout/reftests/canvas/reftest.list @@ -48,7 +48,7 @@ fails-if(Android) != text-font-lang.html text-font-lang-notref.html # gradient off-by-one, fails on windows and linux == linear-gradient-1a.html linear-gradient-1-ref.html -fails-if(cocoaWidget) == linear-gradient-1b.html linear-gradient-1-ref.html +fails-if(/Mac\x20OS\x20X\x2010\.[56]/.test(http.oscpu)) == linear-gradient-1b.html linear-gradient-1-ref.html == zero-dimensions.html zero-dimensions-ref.html @@ -65,7 +65,7 @@ random-if(Android) == dash-1.html dash-1-ref.svg # Bug 668412 (really is androi fails == ctm-singular-sanity.html data:text/html,Pass # Bug 612033 == ctm-1.html ctm-1-ref.html -fails-if(cocoaWidget) == 672646-alpha-radial-gradient.html 672646-alpha-radial-gradient-ref.html # Bug 673333 +fails-if(/Mac\x20OS\x20X\x2010\.[56]/.test(http.oscpu)) == 672646-alpha-radial-gradient.html 672646-alpha-radial-gradient-ref.html # Bug 673333 == 674003-alpha-radial-gradient-superlum.html 674003-alpha-radial-gradient-superlum-ref.html != 693610-1.html 693610-1-notref.html # bug 693610: multiple glyph runs should not be overprinted diff --git a/layout/reftests/css-gradients/reftest.list b/layout/reftests/css-gradients/reftest.list index f6164965b140..a5fea401b5ba 100644 --- a/layout/reftests/css-gradients/reftest.list +++ b/layout/reftests/css-gradients/reftest.list @@ -70,7 +70,7 @@ fails-if(d2d) == repeating-linear-1b.html repeating-linear-1-ref.html == repeating-radial-2a.html repeating-radial-2-ref.html == twostops-1a.html twostops-1-ref.html == twostops-1b.html twostops-1-ref.html -fails-if(cocoaWidget) == twostops-1c.html twostops-1-ref.html # bug 524173 +fails-if(/Mac\x20OS\x20X\x2010\.[56]/.test(http.oscpu)) == twostops-1c.html twostops-1-ref.html # bug 524173 == twostops-1d.html twostops-1-ref.html == twostops-1e.html twostops-1-ref.html == twostops-1f.html twostops-1-ref.html diff --git a/layout/reftests/svg/smil/transform/reftest.list b/layout/reftests/svg/smil/transform/reftest.list index 24c2ffd50abc..eff3ce75b42f 100644 --- a/layout/reftests/svg/smil/transform/reftest.list +++ b/layout/reftests/svg/smil/transform/reftest.list @@ -11,5 +11,5 @@ == scale-1.svg scale-1-ref.svg == skew-1.svg skew-1-ref.svg == translate-clipPath-1.svg lime.svg -fails-if(cocoaWidget) == translate-gradient-1.svg lime.svg +fails-if(/Mac\x20OS\x20X\x2010\.[56]/.test(http.oscpu)) == translate-gradient-1.svg lime.svg == translate-pattern-1.svg lime.svg