diff options
author | Janne Grunau <janne-libav@jannau.net> | 2016-12-28 00:19:49 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-12-28 18:10:32 +0100 |
commit | 35d1f726eb9fdd376ab900587fb02122b72f2b9a (patch) | |
tree | 64e202f9fa6200be34c7722f63c678af0757238a /tests/fate-run.sh | |
parent | 8a34f3659371680ca523aecfd9098c28f0f809eb (diff) | |
download | ffmpeg-35d1f726eb9fdd376ab900587fb02122b72f2b9a.tar.gz |
fate: Add --ignore-tests configure option for omitting specific FATE tests
This can be useful to filter out noise in known-broken scenarios like
miscompilation by legacy compilers and similar.
Originally based on a patch by Diego Biurrun.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index b1b299a055..27cd6261a5 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -24,6 +24,7 @@ size_tolerance=${14:-0} cmp_unit=${15:-2} gen=${16:-no} hwaccel=${17:-none} +report_type=${18:-standard} outdir="tests/data/fate" outfile="${outdir}/${test}" @@ -212,13 +213,17 @@ if test -e "$ref" || test $cmp = "oneline" ; then esac cmperr=$? test $err = 0 && err=$cmperr - test $err = 0 || cat $cmpfile + if [ "$report_type" = "ignore" ]; then + test $err = 0 || echo "IGNORE fate-${test}" && err=0 + else + test $err = 0 || cat $cmpfile + fi else echo "reference file '$ref' not found" err=1 fi -if [ $err -eq 0 ]; then +if [ $err -eq 0 ] && test $report_type = "standard" ; then unset cmpo erro else cmpo="$($base64 <$cmpfile)" |