X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/ae2d64753ac4424c8e9172eb5be23e16aff0b530..99bf09c08221cf110556c1dcc3dc7a39d90c245d:/server/Makefile.am diff --git a/server/Makefile.am b/server/Makefile.am index c1cd6c4..ede49ef 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -136,32 +136,34 @@ check-help: all ./disorder-choose --help > /dev/null ./disorder-choose --version > /dev/null -check-decode: check-wav check-flac check-mp3 +check-decode: check-wav check-flac check-mp3 check-ogg check-mp3: disorder-decode disorder-normalize ./disorder-decode ${top_srcdir}/sounds/scratch.mp3 | \ ./disorder-normalize --config ${srcdir}/test-config > mp3ed.raw - cmp mp3ed.raw ${top_srcdir}/sounds/scratch-mp3.raw + $(top_srcdir)/scripts/compare-raw 64 \ + mp3ed.raw ${top_srcdir}/sounds/scratch-mp3.raw rm -f mp3ed.raw -# TODO ogg decoding comes out OK but different depending on platform, version -# or something. Makes it tricky to test! check-ogg: disorder-decode disorder-normalize ./disorder-decode ${top_srcdir}/sounds/scratch.ogg | \ ./disorder-normalize --config ${srcdir}/test-config > ogged.raw - cmp ogged.raw ${top_srcdir}/sounds/scratch.raw + $(top_srcdir)/scripts/compare-raw 64 \ + ogged.raw ${top_srcdir}/sounds/scratch.raw rm -f ogged.raw check-wav: disorder-decode disorder-normalize ./disorder-decode ${top_srcdir}/sounds/scratch.wav | \ ./disorder-normalize --config ${srcdir}/test-config > waved.raw - cmp waved.raw ${top_srcdir}/sounds/scratch.raw + $(top_srcdir)/scripts/compare-raw 0 \ + waved.raw ${top_srcdir}/sounds/scratch.raw rm -rf waved.raw check-flac: disorder-decode disorder-normalize ./disorder-decode ${top_srcdir}/sounds/scratch.flac | \ ./disorder-normalize --config ${srcdir}/test-config > flacced.raw - cmp flacced.raw ${top_srcdir}/sounds/scratch.raw + $(top_srcdir)/scripts/compare-raw 0 \ + flacced.raw ${top_srcdir}/sounds/scratch.raw rm -f flacced.raw EXTRA_DIST=README.dbversions test-config