api-h264-test: build with another api test

Location of api-h264-test changed to special directory for api tests.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/227/head
Ludmila Glinskih 10 years ago committed by Michael Niedermayer
parent 02bd4d93c9
commit ca3b274552
  1. 1
      libavformat/Makefile
  2. 1
      tests/api/Makefile
  3. 0
      tests/api/api-h264-test.c
  4. 9
      tests/fate/api.mak
  5. 4
      tests/fate/libavformat.mak

@ -549,7 +549,6 @@ TESTPROGS = seek \
url \
TESTPROGS-$(CONFIG_NETWORK) += noproxy
TESTPROGS-yes += api-h264
TESTPROGS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh
TOOLS = aviocat \

@ -1,4 +1,5 @@
APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264
APITESTPROGS += $(APITESTPROGS-yes)
APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o)

@ -4,5 +4,12 @@ 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-h264: $(APITESTSDIR)/api-h264-test$(EXESUF)
fate-api-h264: CMD = run $(APITESTSDIR)/api-h264-test $(TARGET_SAMPLES)/h264-conformance/SVA_NL2_E.264
FATE-$(CONFIG_AVCODEC) += $(FATE_API_LIBAVCODEC-yes)
fate-api: $(FATE_API_LIBAVCODEC-yes)
FATE_API_SAMPLES-$(CONFIG_AVFORMAT) += $(FATE_API_SAMPLES-LIBAVFORMAT-yes)
FATE_SAMPLES_AVCONV += $(FATE_API_SAMPLES-yes)
fate-api: $(FATE_API_LIBAVCODEC-yes) $(FATE_API_SAMPLES-yes)

@ -14,9 +14,5 @@ FATE_LIBAVFORMAT-yes += fate-url
fate-url: libavformat/url-test$(EXESUF)
fate-url: CMD = run libavformat/url-test
FATE_SAMPLES_AVCONV-$(call DEMDEC, H264, H264) += fate-api-h264
fate-api-h264: libavformat/api-h264-test$(EXESUF)
fate-api-h264: CMD = run libavformat/api-h264-test $(TARGET_SAMPLES)/h264-conformance/SVA_NL2_E.264
FATE-$(CONFIG_AVFORMAT) += $(FATE_LIBAVFORMAT-yes)
fate-libavformat: $(FATE_LIBAVFORMAT)

Loading…
Cancel
Save