annotate tests/test.sh @ 271:7b3a80021b7c piper-nopiper

Add MAD_BUFFER_GUARD padding at end of mp3 buffer, in order to ensure last frame is decoded successfully (otherwise the decoded audio is truncated). Another thing learned from madplay.
author Chris Cannam
date Thu, 24 Nov 2016 17:06:31 +0000
parents 56ff594b022c
children
rev   line source
Chris@0 1 #!/bin/bash
Chris@0 2
Chris@0 3 mypath=`dirname $0`
Chris@0 4
Chris@0 5 for x in \
Chris@0 6 supportprogs \
Chris@0 7 helpfulflags \
Chris@228 8 parse-errors \
Chris@0 9 transforms-basic \
Chris@0 10 audioformat \
Chris@75 11 vamp-test-plugin \
Chris@0 12 as-advertised \
Chris@217 13 summaries \
Chris@217 14 multiple-audio \
Chris@156 15 csv-writer \
Chris@43 16 csv-destinations \
Chris@155 17 lab-writer \
Chris@154 18 lab-destinations \
Chris@217 19 rdf-writer \
Chris@217 20 rdf-destinations \
Chris@197 21 midi-writer \
Chris@147 22 midi-destinations \
Chris@200 23 jams-writer \
Chris@200 24 jams-destinations \
Chris@0 25 ; do
Chris@0 26
Chris@0 27 echo -n "$x: "
Chris@119 28 if ( cd $mypath/test-$x ; bash ./test-$x.sh ); then
Chris@0 29 echo test succeeded
Chris@0 30 else
Chris@0 31 echo "*** Test FAILED"
Chris@0 32 exit 1
Chris@0 33 fi
Chris@0 34
Chris@0 35 done
Chris@0 36