mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
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 |
||
---|---|---|
.. | ||
column-sizing-1-ref.xul | ||
column-sizing-1.xul | ||
not-full-basic-ref.xhtml | ||
not-full-basic.xul | ||
not-full-grid-pack-align.xul | ||
not-full-row-group-align-ref.xhtml | ||
not-full-row-group-align.xul | ||
not-full-row-group-direction-ref.xhtml | ||
not-full-row-group-direction.xul | ||
not-full-row-group-pack-ref.xhtml | ||
not-full-row-group-pack.xul | ||
not-full-row-leaf-align.xul | ||
not-full-row-leaf-direction.xul | ||
not-full-row-leaf-pack-ref.xhtml | ||
not-full-row-leaf-pack.xul | ||
reftest.list | ||
row-or-column-sizing-1.xul | ||
row-or-column-sizing-2.xul | ||
row-or-column-sizing-3.xul | ||
row-or-column-sizing-4.xul | ||
row-sizing-1-ref.xul | ||
row-sizing-1.xul | ||
scrollable-columns-ref.xhtml | ||
scrollable-columns.xul | ||
scrollable-rows-ref.xhtml | ||
scrollable-rows.xul | ||
sizing-2d-ref.xul | ||
sizing-2d.xul | ||
z-order-1-ref.xul | ||
z-order-1.xul | ||
z-order-2-ref.xul | ||
z-order-2.xul |