Chris@191: #!/bin/bash Chris@191: Chris@191: . ../include.sh Chris@191: Chris@191: tmpjson=$mypath/tmp_1_$$.json Chris@191: Chris@191: silentfile=$audiopath/20sec-silence.wav Chris@191: Chris@191: trap "rm -f $tmpjson" 0 Chris@191: Chris@191: transformdir=$mypath/transforms Chris@191: Chris@197: mandatory="-w json --json-format jams" Chris@197: Chris@191: # This does not yet test for correct values, only for parseable json Chris@191: Chris@191: for output in instants curve-oss curve-fsr curve-fsr-timed curve-vsr grid-oss grid-fsr notes-regions; do Chris@191: Chris@197: $r -d "$testplug:$output" $mandatory --json-one-file "$tmpjson" --json-force "$silentfile" 2>/dev/null || \ Chris@191: fail "Failed to run for plugin $testplug with output $output" Chris@191: Chris@191: check_json "$tmpjson" "test plugin output $output" Chris@191: done Chris@191: