Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-05-29 12:49:44 +0400
committerMans Rullgard <mans@mansr.com>2012-05-29 20:49:44 +0400
commitf919cc7df6ab844bc12f89fe7bef4fb915a47725 (patch)
tree4db74b63e23a8da8e5bfefe0f2f89d7204160a25 /tests/fate/vcodec.mak
parentc58bcead3b84765ee7bc22258bca672fc0d63733 (diff)
fate: fix acodec/vsynth tests for make 3.81
GNU make 3.81 applies pattern rules in declaration order rather than by stem length as in 3.82. This moves the more generic patterns above the more specific ones such that they work with either make version. Some of the vsynth patterns are also simplified a little. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests/fate/vcodec.mak')
-rw-r--r--tests/fate/vcodec.mak17
1 files changed, 7 insertions, 10 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 075247f952..324320e6b8 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -1,3 +1,10 @@
+fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
+fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
+fate-vsynth%: CODEC = $(word 3, $(subst -, ,$(@)))
+fate-vsynth%: FMT = avi
+fate-vsynth%: CMD = enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s 352x288 -pix_fmt yuv420p $(DECOPTS)" -keep
+fate-vsynth%: CMP_UNIT = 1
+
FATE_VCODEC += asv1
fate-vsynth%-asv1: ENCOPTS = -qscale 10
@@ -223,16 +230,6 @@ fate-vsynth%-wmv2: ENCOPTS = -qscale 10
FATE_VCODEC += yuv
fate-vsynth%-yuv: CODEC = rawvideo
-fate-vsynth1-%: CODEC = $(word 3, $(subst -, ,$(@)))
-fate-vsynth1-%: FMT = avi
-fate-vsynth2-%: CODEC = $(word 3, $(subst -, ,$(@)))
-fate-vsynth2-%: FMT = avi
-
-fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
-fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
-fate-vsynth%: CMD = enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s 352x288 -pix_fmt yuv420p $(DECOPTS)" -keep
-fate-vsynth%: CMP_UNIT = 1
-
FATE_VSYNTH1 = $(FATE_VCODEC:%=fate-vsynth1-%)
FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%)