Mercurial > hg > sonic-annotator
diff tests/test-jams-writer/test-jams-writer.sh @ 299:c9be1a6f7d74
More reliable test
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 25 May 2017 11:31:17 +0100 |
parents | c17b184c16db |
children |
line wrap: on
line diff
--- a/tests/test-jams-writer/test-jams-writer.sh Thu May 25 10:52:03 2017 +0100 +++ b/tests/test-jams-writer/test-jams-writer.sh Thu May 25 11:31:17 2017 +0100 @@ -60,10 +60,10 @@ for digits in 0 6 2; do - $r -t "$transformdir/af.n3" $mandatory --jams-digits "$digits" --jams-one-file "$tmpjson" --jams-force "$infile" 2>/dev/null || \ + $r -d "$testplug:grid-oss" $mandatory --jams-digits "$digits" --jams-one-file "$tmpjson" --jams-force "$silentfile" 2>/dev/null || \ fail "Failed to run for af with digits = $digits" - expected="$mypath/expected/af-$digits.json" + expected="$mypath/expected/grid-oss-$digits.json" jsoncompare "$tmpjson" "$expected" || \ faildiff "Output differs from expected for af with digits = $digits" "$tmpjson" "$expected"