Chris@155: #!/bin/bash Chris@155: Chris@155: . ../include.sh Chris@155: Chris@155: infile=$audiopath/20sec-silence.wav Chris@155: tmplab=$mypath/tmp_1_$$.lab Chris@155: Chris@155: trap "rm -f $tmplab" 0 Chris@155: Chris@155: for output in notes-regions curve-vsr; do Chris@155: Chris@155: flag="" Chris@155: Chris@155: $r -d "$testplug:$output" -w lab --lab-stdout "$infile" 2>/dev/null > "$tmplab" || \ Chris@155: fail "Failed to run for plugin $testplug with output $output and no additional flags" Chris@155: Chris@155: csvcompare "$tmplab" "$mypath/expected/$output-no-flags.lab" || \ Chris@155: faildiff "Output differs from expected for output $output and no additional flags" "$tmplab" "$mypath/expected/$output-no-flags.lab" Chris@155: Chris@155: flag=fill-ends Chris@155: Chris@155: $r -d "$testplug:$output" -w lab --lab-$flag --lab-stdout "$infile" 2>/dev/null > "$tmplab" || \ Chris@155: fail "Failed to run for plugin $testplug with output $output and $flag flag" Chris@155: Chris@155: csvcompare "$tmplab" "$mypath/expected/$output-$flag.lab" || \ Chris@155: faildiff "Output differs from expected for output $output and $flag flag" "$tmplab" "$mypath/expected/$output-$flag.lab" Chris@155: done Chris@155: Chris@155: exit 0 Chris@155: