--- tests/fate-run.sh | 6 ----- tests/lavf-regression.sh | 30 --------------------- tests/regression-funcs.sh | 67 ----------------------------------------------- 3 files changed, 103 deletions(-) delete mode 100755 tests/lavf-regression.sh delete mode 100755 tests/regression-funcs.sh
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index cb44b21e0e..60417a9414 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -229,12 +229,6 @@ streamed_images(){ do_avconv_crc $file $DEC_OPTS -f image2pipe -i $target_path/$file } -lavftest(){ - t="${test#lavf-}" - ref=${base}/ref/lavf/$t - ${base}/lavf-regression.sh $t lavf tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" -} - pixfmt_conversion(){ t="${test#lavf-}" conversion="${t#pixfmt-}" diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh deleted file mode 100755 index a82c23e809..0000000000 --- a/tests/lavf-regression.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# automatic regression test for libavformat -# -# -#set -x - -set -e - -. $(dirname $0)/regression-funcs.sh - -eval do_$test=y - -# streamed images -# mjpeg -#file=${outdir}lavf.mjpeg -#do_avconv $file -t 1 -qscale 10 -f image2 -c:v pgmyuv -i $raw_src -#do_avconv_crc $file -i $target_path/$file - -if [ -n "$do_gif" ] ; then -file=${outdir}lavf.gif -do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -pix_fmt rgb24 -do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 -fi - -if [ -n "$do_y4m" ] ; then -file=${outdir}lavf.$test -do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -do_avconv_crc $file -i $target_path/$file -fi diff --git a/tests/regression-funcs.sh b/tests/regression-funcs.sh deleted file mode 100755 index 9247139386..0000000000 --- a/tests/regression-funcs.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# common regression functions for avconv -# -# - -test="${1#regtest-}" -test_ref=$2 -raw_src_dir=$3 -target_exec=$4 -target_path=$5 -threads=${6:-1} -cpuflags=${8:-all} - -datadir="./tests/data" -target_datadir="${target_path}/${datadir}" - -this="$test.$test_ref" -outdir="$datadir/fate/" - -# various files -avconv="$target_exec ${target_path}/avconv" -raw_src="${target_path}/$raw_src_dir/%02d.pgm" -raw_dst="$datadir/$this.out.yuv" -pcm_src="$target_datadir/asynth1.sw" -crcfile="$datadir/$this.crc" -target_crcfile="$target_datadir/$this.crc" - -cleanfiles="$raw_dst $crcfile" -trap 'rm -f -- $cleanfiles' EXIT - -[ "${V-0}" -gt 0 ] && echov=echov || echov=: - -echov(){ - echo "$@" >&3 -} - -. $(dirname $0)/md5.sh - -AVCONV_OPTS="-nostats -y -cpuflags $cpuflags" -COMMON_OPTS="-flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact" -DEC_OPTS="$COMMON_OPTS -threads $threads" -ENC_OPTS="$COMMON_OPTS -threads 1 -dct fastint" - -run_avconv() -{ - $echov $avconv $AVCONV_OPTS $* - $avconv $AVCONV_OPTS $* -} - -do_avconv() -{ - f="$1" - shift - set -- $* ${target_path}/$f - run_avconv $* - do_md5sum $f - echo $(wc -c $f) -} - -do_avconv_crc() -{ - f="$1" - shift - run_avconv $* -f crc "$target_crcfile" - echo "$f $(cat $crcfile)" -} -- 2.11.0 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel