Page 1 of 1

FFmpeg: Removing FATE reference textfiles

Posted: Tue Sep 01, 2015 1:59 am
by peter_b
When running the FFmpeg FATE tests, the results are compared with reference textfiles.
They are located in "tests/ref/".

I've had to change the Makefile target names for some tests, which also changes the filenames of the generated files.
Therefore, the reference files can't simply by updated by "make fate GEN=1", have to be renamed as well.

In order to stay git patch compatible, here's what you do:

Remove the old reference files:

Code: Select all

$ git rm tests/ref/previous_ref_filenames
Generate and add the new ones:

Code: Select all

$ make fate GEN=1
$ git add tests/ref/*
You can then commit, and generate a patch for your changed FATE test, and send that back upstream :)