Mercurial > hg > sonic-annotator
view tests/test-vamp-test-plugin.sh @ 118:0fe5abb56a6e test-reorg
Pull more stuff up into include file
author | Chris Cannam |
---|---|
date | Wed, 08 Oct 2014 14:20:45 +0100 |
parents | 2633976fbef5 |
children |
line wrap: on
line source
#!/bin/bash . test-include.sh infile=$mypath/audio/20sec-silence.wav tmpcsv=$mypath/tmp_1_$$.csv trap "rm -f $tmpcsv" 0 for output in instants curve-oss curve-fsr curve-fsr-timed curve-vsr grid-oss grid-fsr notes-regions; do $r -d "$testplug:$output" -w csv --csv-one-file "$tmpcsv" --csv-force "$infile" 2>/dev/null || \ fail "Failed to run for plugin $testplug with output $output" csvcompare_ignorefirst "$tmpcsv" "$mypath/expected/vamp-test-plugin-$output.csv" || \ fail "Output differs from expected for $output" done exit 0