Mercurial > hg > sonic-annotator
view tests/test-supportprogs.sh @ 45:69c438d4b9d3
* Pick up default sample rate and channel count from first audio file
(formerly they were hardcoded to 44100 and 1...)
author | Chris Cannam |
---|---|
date | Mon, 18 Oct 2010 14:17:48 +0100 |
parents | 581b1b150a4d |
children |
line wrap: on
line source
#!/bin/bash fail() { echo "Test failed: $1" exit 1 } xmllint --version 2>/dev/null || \ fail "Can't find required xmllint program" rapper --version >/dev/null || \ fail "Can't find required rapper program" exit 0