summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-03 05:09:06 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-06 05:39:10 +0200
commitbf8411c495bea21625da3abf5114c7086cfdaf63 (patch)
treedb79d05dfdd79dba1876860e5b650e7b584bd1a1 /tests/fate-run.sh
parentd496bbe1050454d7386c845b3a1e62aa77ef754a (diff)
fate/lavf-audio: Disable CRC for lavf-peak_only.wav test
The output of this test is just a file containing the positions of peaks; it is not a wave file and trying to demux it just returns AVERROR_INVALIDDATA; said error has just been ignored as the return value from do_avconv_crc is the return value from echo. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 821e949b01..c206a439b2 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -312,7 +312,8 @@ lavf_audio(){
outdir="tests/data/lavf"
file=${outdir}/lavf.$t
do_avconv $file -auto_conversion_filters $DEC_OPTS $1 -ar 44100 -f s16le -i $pcm_src "$ENC_OPTS -metadata title=lavftest" -t 1 -qscale 10 $2
- do_avconv_crc $file -auto_conversion_filters $DEC_OPTS $3 -i $target_path/$file
+ test "$4" = "disable_crc" ||
+ do_avconv_crc $file -auto_conversion_filters $DEC_OPTS $3 -i $target_path/$file
}
lavf_container(){