gecko-dev/gfx/tests/reftest
L. David Baron 1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

Differential Revision: https://phabricator.services.mozilla.com/D2974

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
..
468496-1-ref.html
468496-1.html
611498-1.html
611498-ref.html
709477-1-ref.html
709477-1.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
853889-1-ref.html
853889-1.html
1086723-ref.html
1086723.html
1131264-1.svg
1143303-1.svg
1149923-ref.html
1149923.html
1419528-ref.html Bug 1419528 - Add a reftest for box shadow with zero attributes. r=kats 2018-01-16 17:15:44 +08:00
1419528.html Bug 1419528 - Add a reftest for box shadow with zero attributes. r=kats 2018-01-16 17:15:44 +08:00
1424673-ref.html Bug 1424673 - Add a reftest for the bug. r=kats 2018-01-09 10:36:46 +08:00
1424673.html Bug 1424673 - Add a reftest for the bug. r=kats 2018-01-09 10:36:46 +08:00
1429411-ref.html Bug 1429411 - Add a reftest for the inset box shadow problem. r=kats 2018-01-15 23:46:41 +08:00
1429411.html Bug 1429411 - Add a reftest for the inset box shadow problem. r=kats 2018-01-15 23:46:41 +08:00
1435143-ref.html Bug 1435143 - Properly unwrap Maybe<WrScrollId> for the root scroll frame. r=kats 2018-02-07 10:01:56 +01:00
1435143.html Bug 1435143 - Properly unwrap Maybe<WrScrollId> for the root scroll frame. r=kats 2018-02-07 10:01:56 +01:00
1444904-ref.html Bug 1444904 - Get the root scroll frame id from WebRender r=kats 2018-03-26 18:13:07 +02:00
1444904.html Bug 1444904 - Get the root scroll frame id from WebRender r=kats 2018-03-26 18:13:07 +02:00
1451168-ref.html Bug 1451168 - Add a reftest. r=jrmuizel 2018-05-01 16:31:24 -04:00
1451168.html Bug 1451168 - Add a reftest. r=jrmuizel 2018-05-01 16:31:24 -04:00
1461313-ref.html Bug 1461313 - Handle invalid clip-path URIs with WebRender. r=mstange 2018-07-05 08:05:34 -04:00
1461313.html Bug 1461313 - Handle invalid clip-path URIs with WebRender. r=mstange 2018-07-05 08:05:34 -04:00
1463802-ref.html Bug 1463802 - Add reftest. r=Gankro 2018-06-21 18:24:41 -04:00
1463802.html Bug 1463802 - Add reftest. r=Gankro 2018-06-21 18:24:41 -04:00
1474722-ref.html Bug 1474722 - Add a reftest. r=Bas 2018-08-01 17:13:18 +02:00
1474722.html Bug 1474722 - Add a reftest. r=Bas 2018-08-01 17:13:18 +02:00
blacktrans.png
bwinton.jpg
pass.svg
reftest.list Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert 2018-08-09 20:10:21 +00:00