зеркало из 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 |
||
---|---|---|
.. | ||
1478604-ref.html | ||
1478604.html | ||
addrange-1.html | ||
addrange-2.html | ||
addrange-ref.html | ||
dom-mutations-ref.html | ||
dom-mutations.html | ||
dynamic-text-1-ref.html | ||
dynamic-text-1a.html | ||
dynamic-text-1b.html | ||
extend-1-ref.html | ||
extend-1-sanity.html | ||
extend-1a.html | ||
extend-1b.html | ||
extend-1c.html | ||
extend-1d.html | ||
extend-1e.html | ||
extend-1f.html | ||
extend-1g.html | ||
extend-1h.html | ||
extend-1i.html | ||
extend-2-ref.html | ||
extend-2a.html | ||
extend-2b.html | ||
extend-3-ref.html | ||
extend-3-sanity.html | ||
extend-3a.html | ||
extend-3b.html | ||
extend-3c.html | ||
extend-3d.html | ||
extend-3e.html | ||
extend-3f.html | ||
extend-3g.html | ||
extend-3h.html | ||
extend-3i.html | ||
extend-4-ref.html | ||
extend-4a.html | ||
extend-4b.html | ||
invalidation-1-ref.html | ||
invalidation-1a.html | ||
invalidation-1b.html | ||
invalidation-1c.html | ||
invalidation-1d.html | ||
invalidation-1e.html | ||
invalidation-1f.html | ||
invalidation-2-ref.html | ||
invalidation-2a.html | ||
invalidation-2b.html | ||
invalidation-2c.html | ||
invalidation-2d.html | ||
invalidation-2e.html | ||
invalidation-2f.html | ||
modify-range-ref.html | ||
modify-range.html | ||
non-themed-widget-ref.html | ||
non-themed-widget.html | ||
pseudo-element-of-native-anonymous-ref.html | ||
pseudo-element-of-native-anonymous.html | ||
reftest.list | ||
rtl-selection-with-decoration-ref.html | ||
rtl-selection-with-decoration.html | ||
semitransparent-decoration-line-ref.html | ||
semitransparent-decoration-line.html | ||
splitText-normalize-ref.html | ||
splitText-normalize.html | ||
splitText-normalize.js | ||
themed-widget-ref.html | ||
themed-widget.html | ||
trailing-space-1-ref.html | ||
trailing-space-1.html | ||
writing-mode-ref.html | ||
writing-mode.html |