Chris@75: #!/bin/bash Chris@75: Chris@119: . ../include.sh Chris@75: Chris@119: infile=$audiopath/20sec-silence.wav Chris@75: tmpcsv=$mypath/tmp_1_$$.csv Chris@75: Chris@75: trap "rm -f $tmpcsv" 0 Chris@75: Chris@256: $r --transform-minversion $testplug 4 || \ Chris@256: fail "Vamp Test Plugin version is too old (at least v4 required)" Chris@256: Chris@256: for output in instants curve-oss curve-fsr curve-fsr-timed curve-fsr-mixed curve-vsr grid-oss grid-fsr notes-regions; do Chris@75: Chris@75: $r -d "$testplug:$output" -w csv --csv-one-file "$tmpcsv" --csv-force "$infile" 2>/dev/null || \ Chris@75: fail "Failed to run for plugin $testplug with output $output" Chris@75: Chris@75: csvcompare_ignorefirst "$tmpcsv" "$mypath/expected/vamp-test-plugin-$output.csv" || \ Chris@256: faildiff "Output differs from expected for $output" "$tmpcsv" "$mypath/expected/vamp-test-plugin-$output.csv" Chris@75: Chris@75: done Chris@75: Chris@75: exit 0 Chris@75: