diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-21 20:49:34 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-21 20:49:34 +0000 |
commit | bcb0a1546da42455827e00f55a3a4c139ee3f35e (patch) | |
tree | ee71926061a0fa41b172f1ce0285ad0d18015beb /tests | |
parent | aac6ca6978306bf0f0254bab8a608648014ed3e5 (diff) | |
download | ffmpeg-bcb0a1546da42455827e00f55a3a4c139ee3f35e.tar.gz |
fate: keep stderr from failing tests
Originally committed as revision 24394 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/fate-run.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 2db31acb73..8abec197c5 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -14,6 +14,7 @@ fuzz=$8 outdir="tests/data/fate" outfile="${outdir}/${test}" +errfile="${outdir}/${test}.err" do_tiny_psnr(){ psnr=$(tests/tiny_psnr "$1" "$2" 2 0 0) @@ -63,6 +64,7 @@ regtest(){ t="${test#$2-}" ref=${base}/ref/$2/$t outfile=tests/data/regression/$2/$t + errfile=tests/data/$t.$2.err ${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" } @@ -95,7 +97,7 @@ seektest(){ mkdir -p "$outdir" -$command > "$outfile" 2>/dev/null +$command > "$outfile" 2>$errfile err=$? if ! test -e "$ref"; then @@ -111,4 +113,4 @@ esac cmperr=$? test $err = 0 && err=$cmperr -test $err = 0 && rm $outfile +test $err = 0 && rm -f $outfile $errfile |