[FFmpeg-cvslog] fate: move kerndeint test to the new system.

Clément Bœsch git at videolan.org
Tue Apr 30 02:16:28 CEST 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Tue Apr 30 01:45:08 2013 +0200| [93aede41ce05b149eab8cc28cd416251df30f85e] | committer: Clément Bœsch

fate: move kerndeint test to the new system.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=93aede41ce05b149eab8cc28cd416251df30f85e
---

 tests/fate-run.sh                                            |    3 ++-
 tests/fate/avfilter.mak                                      |    3 +--
 tests/fate/filter-video.mak                                  |    3 +++
 tests/lavfi-regression.sh                                    |    1 -
 tests/ref/{lavfi/kerndeint => fate/filter-pixfmts-kerndeint} |    0
 5 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index afb1984..ea3fe72 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -187,6 +187,7 @@ pixdesc(){
 pixfmts(){
     filter=${test#filter-pixfmts-}
     filter_args=$1
+    prefilter_chain=$2
 
     showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test"
     scale_exclude_fmts=${outfile}${1}_scale_exclude_fmts
@@ -204,7 +205,7 @@ pixfmts(){
 
     for pix_fmt in $pix_fmts; do
         test=$pix_fmt
-        video_filter "format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
+        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
     done
 
     rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts
diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak
index 3bfe78a..c8cf78c 100644
--- a/tests/fate/avfilter.mak
+++ b/tests/fate/avfilter.mak
@@ -1,7 +1,6 @@
 #FIXME the whole file should be removed
 
-FATE_LAVFI-$(CONFIG_GPL) += fate-lavfi-kerndeint                        \
-                            fate-lavfi-tinterlace_merge                 \
+FATE_LAVFI-$(CONFIG_GPL) += fate-lavfi-tinterlace_merge                 \
                             fate-lavfi-tinterlace_pad                   \
 
 FATE_LAVFI += $(FATE_LAVFI-yes)
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index fb5008e..41e0ac9 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -192,6 +192,9 @@ fate-filter-pixfmts-hflip: CMD = pixfmts
 FATE_FILTER_PIXFMTS-$(CONFIG_IL_FILTER) += fate-filter-pixfmts-il
 fate-filter-pixfmts-il:    CMD = pixfmts "luma_mode=d:chroma_mode=d:alpha_mode=d"
 
+FATE_FILTER_PIXFMTS-$(CONFIG_KERNDEINT_FILTER) += fate-filter-pixfmts-kerndeint
+fate-filter-pixfmts-kerndeint: CMD = pixfmts "" "tinterlace=interleave_top,"
+
 FATE_FILTER_PIXFMTS-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null
 fate-filter-pixfmts-null:  CMD = pixfmts
 
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index 506d1dc..0f1920f 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -51,7 +51,6 @@ do_lavfi_pixfmts(){
 }
 
 # all these filters have exactly one input and exactly one output
-do_lavfi_pixfmts "kerndeint"           "kerndeint" "" "tinterlace=interleave_top,"
 do_lavfi_pixfmts "tinterlace_merge"    "tinterlace" "merge"
 do_lavfi_pixfmts "tinterlace_pad"      "tinterlace" "pad"
 
diff --git a/tests/ref/lavfi/kerndeint b/tests/ref/fate/filter-pixfmts-kerndeint
similarity index 100%
rename from tests/ref/lavfi/kerndeint
rename to tests/ref/fate/filter-pixfmts-kerndeint



More information about the ffmpeg-cvslog mailing list