Commit 908f12f3 authored by Mans Rullgard's avatar Mans Rullgard

fate: allow testing with libavfilter disabled

This declares dependencies to skip tests using libavfilter
when it is disabled.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 96a59cf3
...@@ -1516,11 +1516,14 @@ test_deps(){ ...@@ -1516,11 +1516,14 @@ test_deps(){
dep=${v%=*} dep=${v%=*}
tests=${v#*=} tests=${v#*=}
for name in ${tests}; do for name in ${tests}; do
eval ${name}_test_deps="'${dep}$suf1 ${dep}$suf2'" append ${name}_test_deps ${dep}$suf1 ${dep}$suf2
done done
done done
} }
mxf_d10_test_deps="avfilter"
seek_lavf_mxf_d10_test_deps="mxf_d10_test"
test_deps _encoder _decoder \ test_deps _encoder _decoder \
adpcm_g726=g726 \ adpcm_g726=g726 \
adpcm_ima_qt \ adpcm_ima_qt \
......
...@@ -45,9 +45,12 @@ FATE_SEEK = $(SEEK_TESTS:seek_%=fate-seek-%) ...@@ -45,9 +45,12 @@ FATE_SEEK = $(SEEK_TESTS:seek_%=fate-seek-%)
FATE = $(FATE_ACODEC) \ FATE = $(FATE_ACODEC) \
$(FATE_VCODEC) \ $(FATE_VCODEC) \
$(FATE_LAVF) \ $(FATE_LAVF) \
$(FATE_LAVFI) \
$(FATE_SEEK) \ $(FATE_SEEK) \
FATE-$(CONFIG_AVFILTER) += $(FATE_LAVFI)
FATE += $(FATE-yes)
$(filter-out %-aref,$(FATE_ACODEC)): $(AREF) $(filter-out %-aref,$(FATE_ACODEC)): $(AREF)
$(filter-out %-vref,$(FATE_VSYNTH1)): fate-vsynth1-vref $(filter-out %-vref,$(FATE_VSYNTH1)): fate-vsynth1-vref
$(filter-out %-vref,$(FATE_VSYNTH2)): fate-vsynth2-vref $(filter-out %-vref,$(FATE_VSYNTH2)): fate-vsynth2-vref
...@@ -70,7 +73,7 @@ fate-lavfi: $(FATE_LAVFI) ...@@ -70,7 +73,7 @@ fate-lavfi: $(FATE_LAVFI)
fate-seek: $(FATE_SEEK) fate-seek: $(FATE_SEEK)
ifdef SAMPLES ifdef SAMPLES
FATE += $(FATE_TESTS) FATE += $(FATE_TESTS) $(FATE_TESTS-yes)
fate-rsync: fate-rsync:
rsync -vaLW rsync://fate-suite.libav.org/fate-suite/ $(SAMPLES) rsync -vaLW rsync://fate-suite.libav.org/fate-suite/ $(SAMPLES)
else else
......
...@@ -128,7 +128,7 @@ FATE_TESTS += fate-id-cin-video ...@@ -128,7 +128,7 @@ FATE_TESTS += fate-id-cin-video
fate-id-cin-video: CMD = framecrc -i $(SAMPLES)/idcin/idlog-2MB.cin -pix_fmt rgb24 fate-id-cin-video: CMD = framecrc -i $(SAMPLES)/idcin/idlog-2MB.cin -pix_fmt rgb24
FATE_TESTS += fate-idroq-video-dpcm FATE_TESTS += fate-idroq-video-dpcm
fate-idroq-video-dpcm: CMD = framecrc -i $(SAMPLES)/idroq/idlogo.roq fate-idroq-video-dpcm: CMD = framecrc -i $(SAMPLES)/idroq/idlogo.roq
FATE_TESTS += fate-idroq-video-encode FATE_TESTS-$(CONFIG_AVFILTER) += fate-idroq-video-encode
fate-idroq-video-encode: CMD = md5 -f image2 -vcodec pgmyuv -i $(SAMPLES)/ffmpeg-synthetic/vsynth1/%02d.pgm -sws_flags +bitexact -vf pad=512:512:80:112 -f RoQ -t 0.2 fate-idroq-video-encode: CMD = md5 -f image2 -vcodec pgmyuv -i $(SAMPLES)/ffmpeg-synthetic/vsynth1/%02d.pgm -sws_flags +bitexact -vf pad=512:512:80:112 -f RoQ -t 0.2
FATE_TESTS += fate-iff-byterun1 FATE_TESTS += fate-iff-byterun1
fate-iff-byterun1: CMD = framecrc -i $(SAMPLES)/iff/ASH.LBM -pix_fmt rgb24 fate-iff-byterun1: CMD = framecrc -i $(SAMPLES)/iff/ASH.LBM -pix_fmt rgb24
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment