mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-10 17:14:41 +00:00
tests/fate: add fate-sws-ops-list test
This one uses the test framework added in the previous commit to add a light-weight regression test to ensure the generated SwsOpsList is identical. Only compare the md5sum, to make the reference file significantly smaller (down from ~10 MB).
This commit is contained in:
@@ -36,6 +36,10 @@ FATE_LIBSWSCALE-$(CONFIG_UNSTABLE) += fate-sws-unscaled
|
||||
fate-sws-unscaled: libswscale/tests/swscale$(EXESUF)
|
||||
fate-sws-unscaled: CMD = run libswscale/tests/swscale$(EXESUF) -unscaled 1 -flags 0x100000 -v 16
|
||||
|
||||
FATE_LIBSWSCALE-$(CONFIG_UNSTABLE) += fate-sws-ops-list
|
||||
fate-sws-ops-list: libswscale/tests/sws_ops$(EXESUF)
|
||||
fate-sws-ops-list: CMD = run libswscale/tests/sws_ops$(EXESUF) | do_md5sum | cut -d" " -f1
|
||||
|
||||
FATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes)
|
||||
FATE_LIBSWSCALE_SAMPLES += $(FATE_LIBSWSCALE_SAMPLES-yes)
|
||||
FATE-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE)
|
||||
|
||||
1
tests/ref/fate/sws-ops-list
Normal file
1
tests/ref/fate/sws-ops-list
Normal file
@@ -0,0 +1 @@
|
||||
e124847bc6663ca538b784de17bf42f0
|
||||
Reference in New Issue
Block a user