annotate tests/test.sh @ 123:b514bae9555e

Do not feed audio data to a plugin before its transform's start time (we might be feeding other transforms that started earlier). This breaks a test, but the test's expected output was broken (rather alarmingly)! Note that this does mean a plugin may have to-next-block "leakage" at start as well as end of its start-duration zone.
author Chris Cannam
date Wed, 08 Oct 2014 18:44:40 +0100
parents 7a31201dc42d
children 1a6eab755c81
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@0 8 transforms-basic \
Chris@0 9 audioformat \
Chris@75 10 vamp-test-plugin \
Chris@0 11 as-advertised \
Chris@0 12 rdf-writer \
Chris@0 13 rdf-destinations \
Chris@43 14 csv-destinations \
Chris@0 15 summaries \
Chris@103 16 multiple-audio \
Chris@0 17 ; do
Chris@0 18
Chris@0 19 echo -n "$x: "
Chris@119 20 if ( cd $mypath/test-$x ; bash ./test-$x.sh ); then
Chris@0 21 echo test succeeded
Chris@0 22 else
Chris@0 23 echo "*** Test FAILED"
Chris@0 24 exit 1
Chris@0 25 fi
Chris@0 26
Chris@0 27 done
Chris@0 28