annotate valgrinder.sh @ 250:51051baccab6
Add regression test data for new output
author |
Chris Cannam <cannam@all-day-breakfast.com> |
date |
Fri, 17 Jan 2020 10:46:44 +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
|