gecko-dev/layout/reftests/ogg-video/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

36 lines
2.3 KiB
Plaintext

# NOTE: bug 1084564 covers "fails"/"skip" annotations for android below:
fuzzy(0-255,0-5000) == 444-1.html 444-1-ref.html
fails-if(Android) == aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
fails-if(Android) == aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
fails-if(Android) skip-if(gtkWidget) == aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
fails-if(Android) skip-if(gtkWidget) == aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
== aspect-ratio-3a.xhtml aspect-ratio-3-ref.xhtml
== aspect-ratio-3b.xhtml aspect-ratio-3-ref.xhtml
fails-if(Android) random-if(layersGPUAccelerated) == encoded-aspect-ratio-1.html encoded-aspect-ratio-1-ref.html
fails-if(Android) == basic-1.xhtml basic-1-ref.html
skip-if(Android) == canvas-1a.xhtml basic-1-ref.html
fails-if(Android) == canvas-1b.xhtml basic-1-ref.html
== clipping-1a.html clipping-1-ref.html
== empty-1a.html empty-1-ref.html
== empty-1b.html empty-1-ref.html
#these is skipped because we hang on the htmlparser tests when this is ran
random skip-if(Android) == object-aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
random skip-if(Android) == object-aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
skip-if(Android) == offset-1.xhtml offset-1-ref.html
random skip-if(Android) == object-aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
random skip-if(Android) == object-aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
skip-if(Android) fuzzy-if(winWidget,0-1,0-56000) fuzzy-if(cocoaWidget,0-1,0-56000) == zoomed-1.xhtml zoomed-1-ref.html # bug 778995 for fuzzy
skip-if(Android) == poster-1.html poster-ref-blue250x200.html
skip-if(Android) == poster-2.html poster-ref-black140x100.html
skip-if(Android) == poster-3.html poster-ref-black140x100.html
skip-if(Android) == poster-4.html poster-ref-black140x100.html
skip-if(Android) == poster-5.html poster-ref-black140x100.html
skip-if(Android) == poster-6.html poster-ref-black140x100.html
skip-if(Android) == poster-7.html poster-ref-red140x100.html
skip-if(Android) == poster-8.html poster-ref-black140x100.html
random skip-if(Android) == poster-10.html poster-ref-blue125x100.html
random skip-if(Android) == poster-11.html poster-ref-blue140x100.html
random skip-if(Android) == poster-12.html poster-ref-blue140x100.html
skip-if(Android) == poster-13.html poster-ref-blue400x300.html
skip-if(Android) == poster-15.html poster-ref-green70x30.html