tests: Only run noproxy test if networking is enabled

pull/27/head
Diego Biurrun 12 years ago
parent 73142e7533
commit 6516632967
  1. 5
      libavformat/Makefile
  2. 8
      tests/fate/libavformat.mak

@ -383,11 +383,12 @@ SKIPHEADERS-$(CONFIG_NETWORK) += network.h rtsp.h
EXAMPLES = metadata \
output \
TESTPROGS = noproxy \
seek \
TESTPROGS = seek \
srtp \
url \
TESTPROGS-$(CONFIG_NETWORK) += noproxy
TOOLS = aviocat \
ismindex \
pktdumper \

@ -1,14 +1,14 @@
FATE_LIBAVFORMAT += fate-noproxy
FATE_LIBAVFORMAT-$(CONFIG_NETWORK) += fate-noproxy
fate-noproxy: libavformat/noproxy-test$(EXESUF)
fate-noproxy: CMD = run libavformat/noproxy-test
FATE_LIBAVFORMAT += fate-srtp
FATE_LIBAVFORMAT-yes += fate-srtp
fate-srtp: libavformat/srtp-test$(EXESUF)
fate-srtp: CMD = run libavformat/srtp-test
FATE_LIBAVFORMAT += fate-url
FATE_LIBAVFORMAT-yes += fate-url
fate-url: libavformat/url-test$(EXESUF)
fate-url: CMD = run libavformat/url-test
FATE-$(CONFIG_AVFORMAT) += $(FATE_LIBAVFORMAT)
FATE-$(CONFIG_AVFORMAT) += $(FATE_LIBAVFORMAT-yes)
fate-libavformat: $(FATE_LIBAVFORMAT)

Loading…
Cancel
Save