annotate valgrinder.sh @ 264:d1ab40ef1d9d
Merge branch 'master' of https://github.com/c4dm/qm-vamp-plugins
author |
Chris Cannam <cannam@all-day-breakfast.com> |
date |
Thu, 06 Feb 2020 14:27:14 +0000 |
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
|