Mercurial > hg > sonic-annotator
changeset 104:4852625eb62b
And another multiple file test
author | Chris Cannam |
---|---|
date | Wed, 01 Oct 2014 15:19:45 +0100 |
parents | 344d5982bbf8 |
children | 76d9d86ae6cd |
files | tests/test-multiple-audio.sh |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-multiple-audio.sh Wed Oct 01 15:18:45 2014 +0100 +++ b/tests/test-multiple-audio.sh Wed Oct 01 15:19:45 2014 +0100 @@ -30,5 +30,13 @@ csvcompare $tmpfile $expected.csv || \ fail "Output mismatch for transform $transform with summaries and playlist input" +# Same here, just so we can use the same output comparison file as above +$r -t $transform -w csv --csv-stdout $mypath/audio/3clicks8.wav $mypath/audio/6clicks8.wav --summary-only 2>/dev/null | sed 's,^"\.*/[^"]*/,",' > $tmpfile || \ + fail "Fails to run transform $transform with 2-file input" +expected=$mypath/expected/transforms-summaries-percussiononsets-playlist +csvcompare $tmpfile $expected.csv || \ + fail "Output mismatch for transform $transform with summaries and 2-file input" + +