[FFmpeg-devel] [PATCH] fate/api: simplify

James Almer jamrial at gmail.com
Sat Jul 4 04:18:18 CEST 2015


Signed-off-by: James Almer <jamrial at gmail.com>
---
 tests/fate/api.mak | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/tests/fate/api.mak b/tests/fate/api.mak
index 4a1ee81..34c7f45 100644
--- a/tests/fate/api.mak
+++ b/tests/fate/api.mak
@@ -1,23 +1,14 @@
-FATE_API_LIBAVCODEC-$(call ENCDEC, FLAC, FLAC) += fate-api-flac
+FATE_API-$(call ENCDEC, FLAC, FLAC) += fate-api-flac
 fate-api-flac: $(APITESTSDIR)/api-flac-test$(EXESUF)
 fate-api-flac: CMD = run $(APITESTSDIR)/api-flac-test
 fate-api-flac: CMP = null
 fate-api-flac: REF = /dev/null
 
-FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, H264, H264) += fate-api-h264
+FATE_API_SAMPLES-$(call DEMDEC, H264, H264) += fate-api-h264
 fate-api-h264: $(APITESTSDIR)/api-h264-test$(EXESUF)
 fate-api-h264: CMD = run $(APITESTSDIR)/api-h264-test $(TARGET_SAMPLES)/h264-conformance/SVA_NL2_E.264
 
-FATE_API_SAMPLES-$(CONFIG_AVFORMAT) += $(FATE_API_SAMPLES_LIBAVFORMAT-yes)
+FATE_FFMPEG += $(FATE_API-yes)
+FATE_SAMPLES_FFMPEG += $(FATE_API_SAMPLES-yes)
 
-ifdef SAMPLES
-    FATE_API_SAMPLES += $(FATE_API_SAMPLES-yes)
-endif
-
-FATE_API-$(CONFIG_AVCODEC) += $(FATE_API_LIBAVCODEC-yes)
-FATE_API-$(CONFIG_AVFORMAT) += $(FATE_API_LIBAVFORMAT-yes)
-FATE_API = $(FATE_API-yes)
-
-FATE-yes += $(FATE_API) $(FATE_API_SAMPLES)
-
-fate-api: $(FATE_API) $(FATE_API_SAMPLES)
+fate-api: $(FATE_API-yes) $(FATE_API_SAMPLES-yes)
-- 
2.4.5



More information about the ffmpeg-devel mailing list