FFmpeg: Removing FATE reference textfiles

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
peter_b
Chatterbox
Posts: 371
Joined: Tue Nov 12, 2013 2:05 am

FFmpeg: Removing FATE reference textfiles

Post 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 :)
Post Reply