summaryrefslogtreecommitdiff
path: root/tests/codec-regression.sh
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-19 16:19:06 +0100
committerMans Rullgard <mans@mansr.com>2011-06-21 12:37:58 +0100
commitea57502c82a91362daeafec392375706fa266d8b (patch)
treefa4d240bfe4c8b63196d69f6c81c5174c6bad2c3 /tests/codec-regression.sh
parente6c52cee541ba23a7aec525f72dff73c188dad06 (diff)
fate: remove output redirections from old regtest scripts
All tests are run through the fate-run.sh script which already sets up redirections. Using the outputs set there simplifies things somewhat. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests/codec-regression.sh')
-rwxr-xr-xtests/codec-regression.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index a858250e2f..ccedbdbfef 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -11,8 +11,6 @@ set -e
eval do_$test=y
-rm -f "$logfile"
-
# generate reference for quality check
if [ -n "$do_vref" ]; then
do_ffmpeg $raw_ref -f image2 -vcodec pgmyuv -i $raw_src -an -f rawvideo
@@ -265,14 +263,14 @@ fi
if [ -n "$do_mp2" ] ; then
do_audio_encoding mp2.mp2
do_audio_decoding
-$tiny_psnr $pcm_dst $pcm_ref 2 1924 >> $logfile
+$tiny_psnr $pcm_dst $pcm_ref 2 1924
fi
if [ -n "$do_ac3_fixed" ] ; then
do_audio_encoding ac3.rm "-vn -acodec ac3_fixed"
# binaries configured with --disable-sse decode ac3 differently
#do_audio_decoding
-#$tiny_psnr $pcm_dst $pcm_ref 2 1024 >> $logfile
+#$tiny_psnr $pcm_dst $pcm_ref 2 1024
fi
if [ -n "$do_g726" ] ; then
@@ -318,12 +316,12 @@ fi
if [ -n "$do_wmav1" ] ; then
do_audio_encoding wmav1.asf "-acodec wmav1"
do_ffmpeg_nomd5 $pcm_dst $DEC_OPTS -i $target_path/$file -f wav
-$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
+$tiny_psnr $pcm_dst $pcm_ref 2 8192
fi
if [ -n "$do_wmav2" ] ; then
do_audio_encoding wmav2.asf "-acodec wmav2"
do_ffmpeg_nomd5 $pcm_dst $DEC_OPTS -i $target_path/$file -f wav
-$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
+$tiny_psnr $pcm_dst $pcm_ref 2 8192
fi
#if [ -n "$do_vorbis" ] ; then