[FFmpeg-devel] [PATCH v2 0/3] Make fate tests succeed with zlib-ng

Alexander Strasser eclipse7 at gmx.net
Sun Dec 1 22:13:56 EET 2024


This is a fixed up version of the series I sent before.

This worked for me on Ubuntu 20.04 but probably will break
with older zlib versions as Hendrik pointed out in the
previous thread. Either we must update zlib on affected
FATE clients or add more .alt files to them as well.

We could also go the further the "no_file_checksums" as
was demonstrated by James' series.

I still prefer this way because it's simpler and retains
the value of the tests.

Of course I'm not opposing to implement zlib compression
in FFmpeg, but until that happens FATE should also work
on zlib-ng systems IMHO.


Best regards,
  Alexander

Alexander Strasser (3):
  Reapply "tests/fate: disable compression for zlib-based codecs"
  fate: Make it possible to have alternative reference files
  fate: Add .alt files so all tests pass on Ubuntu 20.04

 tests/fate-run.sh                         | 10 ++++++
 tests/fate/cover-art.mak                  |  6 ++--
 tests/fate/image.mak                      |  4 +--
 tests/fate/lavf-image.mak                 |  5 +--
 tests/fate/lavf-video.mak                 |  4 +--
 tests/fate/mov.mak                        |  2 +-
 tests/fate/vcodec.mak                     |  4 ++-
 tests/ref/fate/copy-apng                  |  4 +--
 tests/ref/fate/cover-art-aiff-id3v2-remux |  6 ++--
 tests/ref/fate/cover-art-flac-remux       |  6 ++--
 tests/ref/fate/cover-art-mp3-id3v2-remux  |  6 ++--
 tests/ref/fate/mov-cover-image            |  6 ++--
 tests/ref/fate/mov-cover-image.alt        | 42 +++++++++++++++++++++++
 tests/ref/fate/png-icc                    |  6 ++--
 tests/ref/fate/png-mdcv                   |  4 +--
 tests/ref/fate/png-mdcv.alt               | 22 ++++++++++++
 tests/ref/lavf/apng                       |  4 +--
 tests/ref/lavf/apng.png                   |  4 +--
 tests/ref/lavf/gray16be.png               |  4 +--
 tests/ref/lavf/png                        |  4 +--
 tests/ref/lavf/rgb48be.png                |  4 +--
 tests/ref/seek/vsynth_lena-flashsv        | 40 ++++++++++-----------
 tests/ref/vsynth/vsynth1-flashsv          |  4 +--
 tests/ref/vsynth/vsynth1-mpng             |  4 +--
 tests/ref/vsynth/vsynth1-zlib             |  4 +--
 tests/ref/vsynth/vsynth2-flashsv          |  4 +--
 tests/ref/vsynth/vsynth2-mpng             |  4 +--
 tests/ref/vsynth/vsynth2-zlib             |  4 +--
 tests/ref/vsynth/vsynth3-flashsv          |  4 +--
 tests/ref/vsynth/vsynth3-mpng             |  4 +--
 tests/ref/vsynth/vsynth3-zlib             |  4 +--
 tests/ref/vsynth/vsynth_lena-flashsv      |  4 +--
 tests/ref/vsynth/vsynth_lena-mpng         |  4 +--
 tests/ref/vsynth/vsynth_lena-zlib         |  4 +--
 34 files changed, 161 insertions(+), 84 deletions(-)
 create mode 100644 tests/ref/fate/mov-cover-image.alt
 create mode 100644 tests/ref/fate/png-mdcv.alt

--


More information about the ffmpeg-devel mailing list