diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-01 14:33:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-01 15:03:22 +0200 |
commit | 713dbe0655e4c3a906b0d812a6f90ac161223876 (patch) | |
tree | fbd605821f014cfd5405a90c7335af208d08d2e2 /tests/fate | |
parent | 9e052df86d522cddbddaafe584c2c8cf4d5f5032 (diff) | |
parent | 706208ef47bffd525c982975d2756f7b2b220b8d (diff) |
Merge commit '706208ef47bffd525c982975d2756f7b2b220b8d'
* commit '706208ef47bffd525c982975d2756f7b2b220b8d':
fate: Split fate-pixdesc tests and dispatch them through Make
Conflicts:
tests/fate-run.sh
tests/ref/fate/filter-pixdesc
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate')
-rw-r--r-- | tests/fate/filter-video.mak | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 543efb58a9..d87129b023 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -283,8 +283,25 @@ FATE_FILTER_VSYNTH-$(CONFIG_TILE_FILTER) += fate-filter-tile fate-filter-tile: CMD = video_filter "tile=3x3:nb_frames=5:padding=7:margin=2" -FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc -fate-filter-pixdesc: CMD = pixdesc +tests/pixfmts.mak: TAG = GEN +tests/pixfmts.mak: ffmpeg$(EXESUF) + $(M)printf "PIXFMTS = " > $@ + $(Q)$(TARGET_EXEC) $(TARGET_PATH)/$< -pix_fmts list 2> /dev/null | awk 'NR > 8 && /^IO/ { printf $$2 " " }' >> $@ + $(Q)printf "\n" >> $@ + +ifneq (,$(RUNNING_FATE)) +-include tests/pixfmts.mak +endif + +define PIXDESC_TEST +FATE_FILTER_PIXDESC-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc-$(1) +fate-filter-pixdesc-$(1): CMD = video_filter "format=$(1),pixdesctest" -pix_fmt $(1) +endef + +$(foreach fmt, $(PIXFMTS), $(eval $(call PIXDESC_TEST,$(fmt)))) + +fate-filter-pixdesc: $(FATE_FILTER_PIXDESC-yes) +FATE_FILTER_VSYNTH-yes += $(FATE_FILTER_PIXDESC-yes) FATE_FILTER_PIXFMTS-$(CONFIG_COPY_FILTER) += fate-filter-pixfmts-copy |