annotate valgrinder.sh @ 142:480bdb736ca0

Added tag qm-vamp-plugins-v1.7 for changeset 7c7424761fcd
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 05 Apr 2011 13:48:21 +0100
parents c78ec2a208e2
children
rev   line source
c@61 1 #!/bin/sh
c@61 2 ids=`VAMP_PATH=. vamp-simple-host --list-ids`
c@61 3 testfile=$1
c@61 4 if [ ! -f "$testfile" ]; then
c@61 5 echo "Usage: valgrinder.sh <testfile.wav>"
c@61 6 exit 2
c@61 7 fi
c@61 8 for id in $ids; do
c@61 9 id=`echo $id | sed 's/^vamp://'`
c@61 10 echo
c@61 11 echo "Testing $id on $testfile..."
c@61 12 echo
c@61 13 VAMP_PATH=. valgrind vamp-simple-host "$id" "$testfile" -o /dev/null
c@61 14 echo
c@61 15 done