Mercurial > hg > qm-vamp-plugins
annotate valgrinder.sh @ 61:c78ec2a208e2
...
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 01 Feb 2008 16:52:07 +0000 |
parents | |
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 |