diff mbox series

[FFmpeg-devel,1/4] fate/libswscale: Disable ffmpeg-dependent tests without ffmpeg

Message ID GV1P250MB0737B3605A75AAD6376944F08F392@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 7eff280599ec82ed7986b618e740a33edd0ca905
Headers show
Series [FFmpeg-devel,1/4] fate/libswscale: Disable ffmpeg-dependent tests without ffmpeg | 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 March 30, 2024, 10:51 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 tests/fate/libswscale.mak | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Comments

Andreas Rheinhardt April 2, 2024, 1:44 a.m. UTC | #1
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  tests/fate/libswscale.mak | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/fate/libswscale.mak b/tests/fate/libswscale.mak
> index f8572f9c37..4c29220e6f 100644
> --- a/tests/fate/libswscale.mak
> +++ b/tests/fate/libswscale.mak
> @@ -17,17 +17,15 @@ $(SWS_SLICE_TEST-yes): tools/scale_slice_test$(EXESUF)
>  $(SWS_SLICE_TEST-yes): REF = /dev/null
>  FATE_LIBSWSCALE_SAMPLES += $(SWS_SLICE_TEST-yes)
>  
> -FATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-colorspace
> +FATE_LIBSWSCALE_FFMPEG-$(call FRAMECRC, RAWVIDEO, RAWVIDEO, SCALE_FILTER) += fate-sws-yuv-colorspace \
> +                                                                             fate-sws-yuv-range
>  fate-sws-yuv-colorspace: tests/data/vsynth1.yuv
> -fate-sws-yuv-colorspace: ffmpeg$(PROGSSUF)$(EXESUF)
>  fate-sws-yuv-colorspace: CMD = framecrc \
>    -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
>    -frames 1 \
>    -vf scale=in_color_matrix=bt709:in_range=limited:out_color_matrix=bt601:out_range=full:flags=+accurate_rnd+bitexact
>  
> -FATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-range
>  fate-sws-yuv-range: tests/data/vsynth1.yuv
> -fate-sws-yuv-range: ffmpeg$(PROGSSUF)$(EXESUF)
>  fate-sws-yuv-range: CMD = framecrc \
>    -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
>    -frames 1 \
> @@ -36,5 +34,6 @@ fate-sws-yuv-range: CMD = framecrc \
>  FATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes)
>  FATE_LIBSWSCALE_SAMPLES += $(FATE_LIBSWSCALE_SAMPLES-yes)
>  FATE-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE)
> +FATE_FFMPEG += $(FATE_LIBSWSCALE_FFMPEG-yes)
>  FATE_EXTERN-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE_SAMPLES)
> -fate-libswscale: $(FATE_LIBSWSCALE) $(FATE_LIBSWSCALE_SAMPLES)
> +fate-libswscale: $(FATE_LIBSWSCALE) $(FATE_LIBSWSCALE_SAMPLES) $(FATE_LIBSWSCALE_FFMPEG-yes)

Will apply this patchset tomorrow unless there are objections.

- Andreas
diff mbox series

Patch

diff --git a/tests/fate/libswscale.mak b/tests/fate/libswscale.mak
index f8572f9c37..4c29220e6f 100644
--- a/tests/fate/libswscale.mak
+++ b/tests/fate/libswscale.mak
@@ -17,17 +17,15 @@  $(SWS_SLICE_TEST-yes): tools/scale_slice_test$(EXESUF)
 $(SWS_SLICE_TEST-yes): REF = /dev/null
 FATE_LIBSWSCALE_SAMPLES += $(SWS_SLICE_TEST-yes)
 
-FATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-colorspace
+FATE_LIBSWSCALE_FFMPEG-$(call FRAMECRC, RAWVIDEO, RAWVIDEO, SCALE_FILTER) += fate-sws-yuv-colorspace \
+                                                                             fate-sws-yuv-range
 fate-sws-yuv-colorspace: tests/data/vsynth1.yuv
-fate-sws-yuv-colorspace: ffmpeg$(PROGSSUF)$(EXESUF)
 fate-sws-yuv-colorspace: CMD = framecrc \
   -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
   -frames 1 \
   -vf scale=in_color_matrix=bt709:in_range=limited:out_color_matrix=bt601:out_range=full:flags=+accurate_rnd+bitexact
 
-FATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-range
 fate-sws-yuv-range: tests/data/vsynth1.yuv
-fate-sws-yuv-range: ffmpeg$(PROGSSUF)$(EXESUF)
 fate-sws-yuv-range: CMD = framecrc \
   -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
   -frames 1 \
@@ -36,5 +34,6 @@  fate-sws-yuv-range: CMD = framecrc \
 FATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes)
 FATE_LIBSWSCALE_SAMPLES += $(FATE_LIBSWSCALE_SAMPLES-yes)
 FATE-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE)
+FATE_FFMPEG += $(FATE_LIBSWSCALE_FFMPEG-yes)
 FATE_EXTERN-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE_SAMPLES)
-fate-libswscale: $(FATE_LIBSWSCALE) $(FATE_LIBSWSCALE_SAMPLES)
+fate-libswscale: $(FATE_LIBSWSCALE) $(FATE_LIBSWSCALE_SAMPLES) $(FATE_LIBSWSCALE_FFMPEG-yes)