Mercurial > hg > qm-vamp-plugins
comparison test/regression.sh @ 233:c9c562f37dd7
Update tests and versions for qm-dsp fixes
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 30 May 2019 16:22:09 +0100 |
parents | 97352295ca97 |
children |
comparison
equal
deleted
inserted
replaced
232:48c60a09577d | 233:c9c562f37dd7 |
---|---|
5 mydir=$(dirname "$0") | 5 mydir=$(dirname "$0") |
6 | 6 |
7 source_url=https://code.soundsoftware.ac.uk/attachments/download/1698/Zweieck-Duell.ogg | 7 source_url=https://code.soundsoftware.ac.uk/attachments/download/1698/Zweieck-Duell.ogg |
8 | 8 |
9 testfile="$mydir/tmp/input.ogg" | 9 testfile="$mydir/tmp/input.ogg" |
10 outfile="$mydir/tmp/output.csv" | |
11 truncated_testfile="$mydir/tmp/truncated.ogg" | 10 truncated_testfile="$mydir/tmp/truncated.ogg" |
12 | 11 |
13 mkdir -p "$mydir/tmp" | 12 mkdir -p "$mydir/tmp" |
14 | 13 |
15 if sonic-annotator -v >/dev/null ; then | 14 if sonic-annotator -v >/dev/null ; then |
71 infile="$testfile" | 70 infile="$testfile" |
72 if [ "$bulky" = "true" ]; then | 71 if [ "$bulky" = "true" ]; then |
73 echo "This plugin produces bulky output, using shortened test file" | 72 echo "This plugin produces bulky output, using shortened test file" |
74 infile="$truncated_testfile" | 73 infile="$truncated_testfile" |
75 fi | 74 fi |
76 | 75 |
76 mkdir -p "$mydir/regression-obtained/$plugin" | |
77 outfile="$mydir/regression-obtained/$plugin/$output.csv" | |
78 | |
77 VAMP_PATH="$mydir/.." \ | 79 VAMP_PATH="$mydir/.." \ |
78 sonic-annotator \ | 80 sonic-annotator \ |
79 -d "$id" \ | 81 -d "$id" \ |
80 -w csv \ | 82 -w csv \ |
81 --csv-omit-filename \ | 83 --csv-omit-filename \ |