annotate tests/test.sh @ 269:39fb206b1153 piper-nopiper

Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames. Fixes the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). The logic here is based on the madplay code.
author Chris Cannam
date Thu, 24 Nov 2016 13:32:04 +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