view test/regressiontest.sh @ 66:61c7d11ba86d refactors_no_float

Fix handling of path lookup in case where the expected end point (end of silence in both files) is not available
author Chris Cannam
date Tue, 18 Nov 2014 10:31:37 +0000
parents 930cf86113b7
children
line wrap: on
line source
#!/bin/bash

mydir=$(dirname "$0")

sonic-annotator --minversion 1.1 || exit 1

VAMP_PATH="${mydir}/.." \
    sonic-annotator \
    -d vamp:match-vamp-plugin:match \
    --multiplex \
    ~/Music/cc-kids-abrsm-dataset/ABRSM/Allegro\ in\ G.mp3 \
    ~/Music/cc-kids-abrsm-dataset/Kids/Allegro\ in\ G.mp3 \
    -w csv --csv-stdout 2>/dev/null | sed 's/^[^,]*,//' > /tmp/$$ || exit 1

sdiff -w 78 /tmp/$$ `dirname $0`/expected.csv && echo Passed

rm /tmp/$$