Mercurial > hg > match-vamp
annotate test/regressiontest.sh @ 86:f07b9b7f1ab6 refactors
Previous commit was a mistake: the ahead-of-time business is in Finder::getExpandDirection. In fact we were failing to swap advance directions in forward path when writing to the "other" finder. This does not actually affect the backward path calculation, but it does mean we can restore the sanity check.
author | Chris Cannam |
---|---|
date | Thu, 27 Nov 2014 12:08:16 +0000 |
parents | 930cf86113b7 |
children |
rev | line source |
---|---|
Chris@12 | 1 #!/bin/bash |
Chris@12 | 2 |
Chris@34 | 3 mydir=$(dirname "$0") |
Chris@12 | 4 |
Chris@30 | 5 sonic-annotator --minversion 1.1 || exit 1 |
Chris@22 | 6 |
Chris@34 | 7 VAMP_PATH="${mydir}/.." \ |
Chris@30 | 8 sonic-annotator \ |
Chris@12 | 9 -d vamp:match-vamp-plugin:match \ |
Chris@12 | 10 --multiplex \ |
Chris@12 | 11 ~/Music/cc-kids-abrsm-dataset/ABRSM/Allegro\ in\ G.mp3 \ |
Chris@12 | 12 ~/Music/cc-kids-abrsm-dataset/Kids/Allegro\ in\ G.mp3 \ |
Chris@12 | 13 -w csv --csv-stdout 2>/dev/null | sed 's/^[^,]*,//' > /tmp/$$ || exit 1 |
Chris@12 | 14 |
Chris@26 | 15 sdiff -w 78 /tmp/$$ `dirname $0`/expected.csv && echo Passed |
Chris@12 | 16 |
Chris@12 | 17 rm /tmp/$$ |