diff mbox series

[FFmpeg-devel,10/32] fate/screen: Fix test requirements

Message ID AS8PR01MB79449BE581D4242DC91A400E8FF99@AS8PR01MB7944.eurprd01.prod.exchangelabs.com
State Accepted
Commit b07e6a095d66162fcdeb00f57fa40c3414ff5a1d
Headers show
Series [FFmpeg-devel,01/32] fate/matroska: Use REMUX and TRANSCODE where appropriate | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt April 24, 2022, 3:33 a.m. UTC
In particular, add the missing dependency on the scale filter
(and therefore on libswscale).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 tests/fate/screen.mak | 55 ++++++++++++++++++++++++-------------------
 1 file changed, 31 insertions(+), 24 deletions(-)
diff mbox series

Patch

diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index aa9832688d..bd6d228544 100644
--- a/tests/fate/screen.mak
+++ b/tests/fate/screen.mak
@@ -1,11 +1,11 @@ 
 # FIXME dropped frames in this test because of coarse timebase
-FATE_SCREEN-$(call DEMDEC, AVI, CSCD) += fate-cscd
+FATE_SCREEN-$(call FRAMECRC, AVI, CSCD, SCALE_FILTER) += fate-cscd
 fate-cscd: CMD = framecrc -i $(TARGET_SAMPLES)/CSCD/sample_video.avi -an -pix_fmt rgb24 -vf scale
 
-FATE_SCREEN-$(call DEMDEC, AVI, DXTORY) += fate-dxtory
+FATE_SCREEN-$(call FRAMECRC, AVI, DXTORY) += fate-dxtory
 fate-dxtory: CMD = framecrc -i $(TARGET_SAMPLES)/dxtory/dxtory_mic.avi -an
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, FIC) += fate-fic-avi
+FATE_SCREEN-$(call FRAMECRC, AVI, FIC) += fate-fic-avi
 fate-fic-avi: CMD = framecrc -i $(TARGET_SAMPLES)/fic/fic-partial-2MB.avi -an
 
 FATE_FMVC += fate-fmvc-type1
@@ -14,8 +14,9 @@  fate-fmvc-type1: CMD = framecrc -i $(TARGET_SAMPLES)/fmvc/6-methyl-5-hepten-2-on
 FATE_FMVC += fate-fmvc-type2
 fate-fmvc-type2: CMD = framecrc -i $(TARGET_SAMPLES)/fmvc/fmvcVirtualDub_small.avi
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, FMVC) += $(FATE_FMVC)
-fate-fmvc: $(FATE_FMVC)
+FATE_FMVC-$(call FRAMECRC, AVI, FMVC) += $(FATE_FMVC)
+FATE_SCREEN += $(FATE_FMVC-yes)
+fate-fmvc: $(FATE_FMVC-yes)
 
 FATE_FRAPS += fate-fraps-v0
 fate-fraps-v0: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/Griffin_Ragdoll01-partial.avi
@@ -26,7 +27,7 @@  fate-fraps-v1: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/sample-v1.avi -an
 FATE_FRAPS += fate-fraps-v2
 fate-fraps-v2: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/test3-nosound-partial.avi
 
-FATE_FRAPS += fate-fraps-v3
+FATE_FRAPS-$(call FRAMECRC, AVI, FRAPS, SCALE_FILTER) += fate-fraps-v3
 fate-fraps-v3: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/psclient-partial.avi -pix_fmt rgb24 -vf scale
 
 FATE_FRAPS += fate-fraps-v4
@@ -35,8 +36,9 @@  fate-fraps-v4: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/WoW_2006-11-03_14-58-17
 FATE_FRAPS += fate-fraps-v5
 fate-fraps-v5: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/fraps-v5-bouncing-balls-partial.avi
 
-FATE_SCREEN-$(call DEMDEC, AVI, FRAPS) += $(FATE_FRAPS)
-fate-fraps: $(FATE_FRAPS)
+FATE_FRAPS-$(call FRAMECRC, AVI, FRAPS) += $(FATE_FRAPS)
+FATE_SCREEN += $(FATE_FRAPS-yes)
+fate-fraps: $(FATE_FRAPS-yes)
 
 FATE_G2M += fate-g2m2
 fate-g2m2: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/g2m/g2m2.asf -an
@@ -47,13 +49,13 @@  fate-g2m3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/g2m/g2m3.asf -frames
 FATE_G2M += fate-g2m4
 fate-g2m4: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/g2m/g2m4.asf
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, G2M) += $(FATE_G2M)
+FATE_SCREEN-$(call FRAMECRC, ASF, G2M) += $(FATE_G2M)
 fate-g2m: $(FATE_G2M)
 
 FATE_RSCC += fate-iscc
 fate-iscc: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/pip.avi -an
 
-FATE_RSCC += fate-rscc-8bit
+FATE_RSCC-$(call FRAMECRC, AVI, RSCC, SCALE_FILTER) += fate-rscc-8bit
 fate-rscc-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/8bpp.avi -an -pix_fmt rgb24 -vf scale
 
 FATE_RSCC += fate-rscc-16bit
@@ -65,8 +67,9 @@  fate-rscc-24bit: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/24bpp.avi -an
 FATE_RSCC += fate-rscc-32bit
 fate-rscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/32bpp.avi -an
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, RSCC) += $(FATE_RSCC)
-fate-rscc: $(FATE_RSCC)
+FATE_RSCC-$(call FRAMECRC, AVI, RSCC) += $(FATE_RSCC)
+FATE_SCREEN += $(FATE_RSCC-yes)
+fate-rscc: $(FATE_RSCC-yes)
 
 FATE_SCREENPRESSO += fate-screenpresso-16bit
 fate-screenpresso-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/16bpp_555.avi -an
@@ -77,10 +80,11 @@  fate-screenpresso-24bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/bunny.avi -an
 FATE_SCREENPRESSO += fate-screenpresso-32bit
 fate-screenpresso-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/32bpp.avi -an
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, SCREENPRESSO) += $(FATE_SCREENPRESSO)
-fate-screenpresso: $(FATE_SCREENPRESSO)
+FATE_SCREENPRESSO-$(call FRAMECRC, AVI, SCREENPRESSO) += $(FATE_SCREENPRESSO)
+FATE_SCREEN += $(FATE_SCREENPRESSO-yes)
+fate-screenpresso: $(FATE_SCREENPRESSO-yes)
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, TDSC) += fate-tdsc
+FATE_SCREEN-$(call FRAMECRC, ASF, TDSC) += fate-tdsc
 fate-tdsc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/tdsc/tdsc.asf -an -pix_fmt bgr24
 
 FATE_TSCC += fate-tscc-15bit
@@ -89,16 +93,17 @@  fate-tscc-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/oneminute.avi -t 15 -p
 FATE_TSCC += fate-tscc-32bit
 fate-tscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/2004-12-17-uebung9-partial.avi -pix_fmt rgb24 -an -vf scale
 
-FATE_SCREEN-$(call DEMDEC, AVI, TSCC) += $(FATE_TSCC)
-fate-tscc: $(FATE_TSCC)
+FATE_TSCC-$(call FRAMECRC, AVI, TSCC, SCALE_FILTER) += $(FATE_TSCC)
+FATE_SCREEN += $(FATE_TSCC-yes)
+fate-tscc: $(FATE_TSCC-yes)
 
-FATE_TSCC2-$(CONFIG_AVI_DEMUXER) += fate-tscc2-avi
+FATE_TSCC2-$(call FRAMECRC, AVI, TSCC2) += fate-tscc2-avi
 fate-tscc2-avi: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
 
-FATE_TSCC2-$(CONFIG_MOV_DEMUXER) += fate-tscc2-mov
+FATE_TSCC2-$(call FRAMECRC, MOV, TSCC2) += fate-tscc2-mov
 fate-tscc2-mov: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/rec.trec
 
-FATE_SAMPLES_AVCONV-$(CONFIG_TSCC2_DECODER) += $(FATE_TSCC2-yes)
+FATE_SCREEN += $(FATE_TSCC2-yes)
 fate-tscc2: $(FATE_TSCC2-yes)
 
 FATE_VMNC += fate-vmnc-16bit
@@ -107,8 +112,9 @@  fate-vmnc-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/test.avi -pix_fmt rgb2
 FATE_VMNC += fate-vmnc-32bit
 fate-vmnc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/VS2k5DebugDemo-01-partial.avi -pix_fmt rgb24 -vf scale
 
-FATE_SCREEN-$(call DEMDEC, AVI, VMNC) += $(FATE_VMNC)
-fate-vmnc: $(FATE_VMNC)
+FATE_VMNC-$(call FRAMECRC, AVI, VMNC, SCALE_FILTER) += $(FATE_VMNC)
+FATE_SCREEN += $(FATE_VMNC-yes)
+fate-vmnc: $(FATE_VMNC-yes)
 
 FATE_ZMBV += fate-zmbv-8bit
 fate-zmbv-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/wc2_001-partial.avi -an -pix_fmt rgb24 -vf scale
@@ -122,8 +128,9 @@  fate-zmbv-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_16bit.avi -pix_fm
 FATE_ZMBV += fate-zmbv-32bit
 fate-zmbv-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_32bit.avi -pix_fmt rgb24 -t 25 -vf scale
 
-FATE_SCREEN-$(call DEMDEC, AVI, ZMBV) += $(FATE_ZMBV)
-fate-zmbv: $(FATE_ZMBV)
+FATE_ZMBV-$(call FRAMECRC, AVI, ZMBV, SCALE_FILTER) += $(FATE_ZMBV)
+FATE_SCREEN += $(FATE_ZMBV-yes)
+fate-zmbv: $(FATE_ZMBV-yes)
 
 FATE_SCREEN += $(FATE_SCREEN-yes)