Browse Source

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>
tags/n2.8
Ludmila Glinskih Michael Niedermayer 10 years ago
parent
commit
ca3b274552
5 changed files with 9 additions and 6 deletions
  1. +0
    -1
      libavformat/Makefile
  2. +1
    -0
      tests/api/Makefile
  3. +0
    -0
      tests/api/api-h264-test.c
  4. +8
    -1
      tests/fate/api.mak
  5. +0
    -4
      tests/fate/libavformat.mak

+ 0
- 1
libavformat/Makefile View File

@@ -549,7 +549,6 @@ TESTPROGS = seek \
url \

TESTPROGS-$(CONFIG_NETWORK) += noproxy
TESTPROGS-yes += api-h264
TESTPROGS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh

TOOLS = aviocat \


+ 1
- 0
tests/api/Makefile View File

@@ -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)


libavformat/api-h264-test.c → tests/api/api-h264-test.c View File


+ 8
- 1
tests/fate/api.mak View File

@@ -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)

+ 0
- 4
tests/fate/libavformat.mak View File

@@ -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