[FFmpeg-devel] fate/api-tests: Facilitate separating API tests from other code

George Boyle george at thebuds.net
Thu Jun 25 19:37:09 CEST 2015


I believe this fixes the problem raised in the previous version of this patch.
It also properly handles cleaning the build files, which wasn't there before. I
hope I haven't missed anything else.

I considered two approaches to this. One was to treat the API tests almost like
another library, which could leverage the auto-generated Makefile rules for
libraries that are already there. I didn't take this approach because most of
the generated rules didn't make sense in this context, and in general it just
didn't seem right to me to consider it like a library.

The other was to take applicable rules applying to the existing library tests
and copy them for use in the API tests. The downside of this is some rules that
are duplicated, but I thought it was cleaner and made the separation more
explicit. If there are other opinions on this, I'd be interested to hear them.


[PATCH 1/2] fate/api-tests: Add directory and Makefile for API tests
[PATCH 2/2] fate/api-tests: Move api-flac-test to API tests


More information about the ffmpeg-devel mailing list