FFmpeg: Removing FATE reference textfiles
Posted: Tue Sep 01, 2015 1:59 am
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:
Generate and add the new ones:
You can then commit, and generate a patch for your changed FATE test, and send that back upstream
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
Code: Select all
$ make fate GEN=1
$ git add tests/ref/*