Mercurial > hg > sonic-annotator
comparison tests/test-multiple-audio.sh @ 104:4852625eb62b
And another multiple file test
author | Chris Cannam |
---|---|
date | Wed, 01 Oct 2014 15:19:45 +0100 |
parents | 344d5982bbf8 |
children | 74f7ad72fee6 |
comparison
equal
deleted
inserted
replaced
103:344d5982bbf8 | 104:4852625eb62b |
---|---|
28 | 28 |
29 expected=$mypath/expected/transforms-summaries-percussiononsets-playlist | 29 expected=$mypath/expected/transforms-summaries-percussiononsets-playlist |
30 csvcompare $tmpfile $expected.csv || \ | 30 csvcompare $tmpfile $expected.csv || \ |
31 fail "Output mismatch for transform $transform with summaries and playlist input" | 31 fail "Output mismatch for transform $transform with summaries and playlist input" |
32 | 32 |
33 # Same here, just so we can use the same output comparison file as above | |
34 $r -t $transform -w csv --csv-stdout $mypath/audio/3clicks8.wav $mypath/audio/6clicks8.wav --summary-only 2>/dev/null | sed 's,^"\.*/[^"]*/,",' > $tmpfile || \ | |
35 fail "Fails to run transform $transform with 2-file input" | |
36 | |
37 expected=$mypath/expected/transforms-summaries-percussiononsets-playlist | |
38 csvcompare $tmpfile $expected.csv || \ | |
39 fail "Output mismatch for transform $transform with summaries and 2-file input" | |
33 | 40 |
34 | 41 |
42 |