зеркало из https://github.com/mozilla/gecko-dev.git
1e88f0f003
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 |
||
---|---|---|
.. | ||
background-common-usage-floating-point.html | ||
background-common-usage-percent.html | ||
background-common-usage-pixel.html | ||
background-common-usage-ref.html | ||
background-draw-nothing-empty-rect.html | ||
background-draw-nothing-invalid-syntax.html | ||
background-draw-nothing-malformed-images.html | ||
background-draw-nothing-ref.html | ||
background-monster-rect-ref.html | ||
background-monster-rect.html | ||
background-over-size-rect-ref.html | ||
background-over-size-rect.html | ||
background-test-parser-ref.html | ||
background-test-parser.html | ||
background-with-other-properties-ref.html | ||
background-with-other-properties.html | ||
background-zoom-1-ref.html | ||
background-zoom-1.html | ||
background-zoom-2-ref.html | ||
background-zoom-2.html | ||
background-zoom-3-ref.html | ||
background-zoom-3.html | ||
background-zoom-4-ref.html | ||
background-zoom-4.html | ||
dom-api-computed-style.html | ||
dom-api-ref.html | ||
dom-api.html | ||
green-16x16-in-blue-32x32.png | ||
reftest.list | ||
transparent-16x16-in-blue-32x32.png |