gecko-dev/layout/reftests/generated-content/reftest.list
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

24 lines
1.7 KiB
Plaintext

# Almost all tests in this file have fuzz on OS X 10.10 due to bug 1220052.
fuzzy-if(OSX==1010,0-1,0-10) == display-types-01.html display-types-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-attr-01.html dynamic-attr-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-button-01a.html dynamic-button-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-button-01b.html dynamic-button-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-fieldset-01a.html dynamic-fieldset-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-fieldset-01b.html dynamic-fieldset-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-restyle-01.html dynamic-restyle-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-table-cell-01a.html dynamic-table-cell-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == dynamic-table-cell-01b.html dynamic-table-cell-01-ref.html
== dynamic-table-cell-indent.html dynamic-table-cell-indent-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == floated-01.html floated-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == images-01.html images-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == positioned-01.html positioned-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == quotes-001.xml quotes-001-ref.xml
fuzzy-if(OSX==1010,0-1,0-10) == table-ignoring-whitespace-01.html table-ignoring-whitespace-01-ref.html
fuzzy-if(OSX==1010,0-1,0-10) == table-parts-01.html table-parts-01-ref.html
== before-style-sharing.html before-style-sharing-ref.html
== transitive-style-invalidation.html transitive-style-invalidation-ref.html
== dynamic-content.html dynamic-content-ref.html
== generated-content-inherit-001.html generated-content-inherit-001-ref.html
== dynamic-generated-content-inherit-001.html generated-content-inherit-001-ref.html
== attr-whitespace.xhtml attr-whitespace-ref.html