[FFmpeg-devel] [PATCH] tools: add update-ffprobe-tests
James Almer
jamrial at gmail.com
Tue Jun 10 18:18:00 CEST 2014
On 09/06/14 7:29 AM, Stefano Sabatini wrote:
> Help contributors to update ffprobe tests in an automated fashion.
> ---
> tools/update-ffprobe-tests | 8 ++++++++
> 1 file changed, 8 insertions(+)
> create mode 100755 tools/update-ffprobe-tests
>
> diff --git a/tools/update-ffprobe-tests b/tools/update-ffprobe-tests
> new file mode 100755
> index 0000000..e2dc4d5
> --- /dev/null
> +++ b/tools/update-ffprobe-tests
> @@ -0,0 +1,8 @@
> +#! /bin/sh
> +
> +ffprobe_tests=$(make fate-list | grep ffprobe)
> +
> +for test in $ffprobe_tests; do
> + format=${test##*_}
> + ffprobe -show_streams -show_packets -show_format -show_frames -bitexact tests/data/ffprobe-test.nut -of $format > tests/ref/fate/ffprobe_$format
> +done
>
Isn't this what make fate GEN=1 is for?
More information about the ffmpeg-devel
mailing list