Mercurial > hg > sonic-annotator
view tests/test-supportprogs/test-supportprogs.sh @ 203:08d492f861e9
More useful report when a transform is completely unknown to us
author | Chris Cannam |
---|---|
date | Tue, 03 Nov 2015 11:36:00 +0000 |
parents | c8b934ed4ddd |
children | c17b184c16db |
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" iconv --version >/dev/null || \ fail "Can't find required iconv program" echo '{}' | json_verify >/dev/null || \ fail "Can't find required json_verify program, or it doesn't seem to work" exit 0