From 333cebeac5aa14848c9ed6933d41e3446915833d Mon Sep 17 00:00:00 2001 From: Kamil Jarosz Date: Fri, 20 Dec 2024 15:47:48 +0100 Subject: [PATCH] tests: Enable visual/shumway_acid_tests/acid_textfield_scroll Changed quality to high & introduced tolerance. --- .../acid_textfield_scroll/output.expected.png | Bin 4523 -> 4214 bytes .../acid_textfield_scroll/test.toml | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/tests/swfs/visual/shumway_acid_tests/acid_textfield_scroll/output.expected.png b/tests/tests/swfs/visual/shumway_acid_tests/acid_textfield_scroll/output.expected.png index a520c1d600a8b67618dc318bc9c398a40b160eee..6a62f14f9d874c976d87ddb737d1f49ac8f05cab 100644 GIT binary patch literal 4214 zcmeHLcTkhr7XJb&f>Pe1vVa2ah6qxnE)WvC1XDDKh-eVOM2eIIfk?9=yC7hK6o~{^ z%9AQZx&)<2AP^Lg4N{gR5RfK8N(hAa>FmsVGjHFFyEE_o_5S+Jy>rgF_nhB3=awH& zV2{bmsmTEVAdj*;j0XTI7yv*LHg5uF9zM@21z`i}0OkMy6vuB_b=wGzAr$`IxT zx%ufTLJX&7>rcedfv`f5{D=Di4*-LA~}PRnpgfMG`?8jbNXv3?RC;u^EVptZk> z@_wpVUK0UVM6Q0^-8)3#+EN9Nf@#pDfnZk{I>oCYXe7=2xFf?r|Q_ef_hUZ{4b}P2Z(FpSN_<$;qh}PUhR4 zlxmEXHG88u{~FCsESZcVUhd$ePCOv+66BrJo{Qj271p{(I;V|lg&Tc}<~07aWOK1G z`g=+L%F2q*`|<)*g>BNc#i`VQk>>3qKNl7jqD=Q?*}IRuJ#KV00rG0Y!w)n4=WD|p z3tOi+9owsZp0aQq&4bfP!c*z3dQ@$cFaUwYc$JtPr%(-zYQixXjF*>J+%mm^;kl39a1u`I1=-_mfY@7}ne{YhSTp z05do{*3WREcqe(F#yqgrV$?H?EhI?1INjtVyDLl+Oxw7hovt~?CT1@?MmPrWa!jMx zNd_(@#P)|@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{sd&%cSi)E9@JDBUkt&pDh`>+NLDA zxYo(%ii80YCvG|R36|5J8qDiEq*lyVr1_>BBUZ9{U$=mP#&uJhAau1%hA) zw(mNx;e8r#9Hrs`1C332miHwZ_;23??@wIz-{3JcA!*YAw9N}5U4C=8t{ah5`AvU$ zp%hGYGu^bWKM6LdQp`iNN_}6Bh4J9{K3bPakThTBvyMW{SKkT^wM%V%8FHf;L!9PN zqbl*onT0INRzobIQ99VHzU4bg1!yYoMNoSOb(ZYM@)VU@?9mPYl&8s8(6AubNX;Jc zk6UY`989qeq(OQOik7S+5@Em?1G{hJ4tb4((Ao1`&ZC7H{1d_2XlZ(WtF$f`o!ouv zMTpfFr{TU)UR5&nuUAtdoq{=#=sOzyD=E0p;xng|0o50XNxNFEuv`enrIZgL zkkharwtq8OZ&sC47>|lp-SU3l?hjCgRoKn>*zx7D!h6e|=GPe}K0f3I<F8_#BkeVJBtQ}6@0S;b7E1;6 z`0xh18fn9dD4NY{t`GO$9<3>06oUdJ3Z&_%k*l-izG-Y>B-T*d5JUDx}h~*}Ol>sEJ9C7&yy)JvhfnRn?3)Wry^RjB>Is$T80 zk%C6i)GqLI;M6q@&$&7UMp|p`Pi~@os>+sXu+Do(F74lA$IXdH-F@__GVv6^IdE9Y z3b|G!T+kwCg&q#MGM}D?@T#BT>2$XdwwZH)Ad^ZGTJ|l1OET1kON#Fg%X@9&vu^K6 zJ1I+(SHb{N>*Fhcki08<4&948Rtn>hCA?;7MZw{qQ8$?ro4E$1j3g+}aO1=8M?0YXG5qs={I{p{0H?@jV8a}?Kw6PRtsj{NoZYR+(vlmvw1r7XF#HCAkk4J6-@)z*Aqg0(NxO0xyr;Io%R~6Jw wKusnIlW>{8?{I(LUH{6v>;L+LfC!q8*!$~zN3|312m`XbXlGXay?4@o03=&1P5=M^ diff --git a/tests/tests/swfs/visual/shumway_acid_tests/acid_textfield_scroll/test.toml b/tests/tests/swfs/visual/shumway_acid_tests/acid_textfield_scroll/test.toml index 89d0380d3f4a..e69735ed8fc3 100644 --- a/tests/tests/swfs/visual/shumway_acid_tests/acid_textfield_scroll/test.toml +++ b/tests/tests/swfs/visual/shumway_acid_tests/acid_textfield_scroll/test.toml @@ -1,10 +1,11 @@ # Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid num_frames = 1 -known_failure = true # https://github.com/ruffle-rs/ruffle/issues/12124 +# FIXME We can do better here, seems that font hinting is the problem? [image_comparisons.output] -tolerance = 0 +tolerance = 128 +max_outliers = 600 [player_options] -with_renderer = { optional = false, sample_count = 1 } +with_renderer = { optional = true, sample_count = 4 }