Mercurial > hg > sonic-annotator
comparison tests/test-multiple-audio/test-multiple-audio.sh @ 218:dc82579c9a26
Add test for multiplexed audio
author | Chris Cannam |
---|---|
date | Fri, 20 Nov 2015 09:31:55 +0000 |
parents | 685e5cf3cb1d |
children | 9a10c3ffff47 |
comparison
equal
deleted
inserted
replaced
217:b84b946e8542 | 218:dc82579c9a26 |
---|---|
97 | 97 |
98 expected=$mypath/expected/playlist | 98 expected=$mypath/expected/playlist |
99 csvcompare $tmpfile $expected.csv || \ | 99 csvcompare $tmpfile $expected.csv || \ |
100 faildiff "Output mismatch for transform $transform with summaries and mixed local/remote 2-file input" $tmpfile $expected.csv | 100 faildiff "Output mismatch for transform $transform with summaries and mixed local/remote 2-file input" $tmpfile $expected.csv |
101 | 101 |
102 | |
103 # 9. As 3, but multiplexing rather than extracting separately from each file | |
104 | |
105 $r -t $transform --multiplex -w csv --csv-stdout $audiopath/3clicks.mp3 $audiopath/6clicks.ogg --summary-only 2>/dev/null | sed 's,^"[^"]*/,",' > $tmpfile || \ | |
106 fail "Fails to run transform $transform with 2-file input" | |
107 | |
108 expected=$mypath/expected/multiplexed | |
109 csvcompare $tmpfile $expected.csv || \ | |
110 faildiff "Output mismatch for transform $transform with summaries and 2-file multiplexed input" $tmpfile $expected.csv | |
111 |