Mercurial > hg > sonic-annotator
comparison tests/test-supportprogs/test-supportprogs.sh @ 284:8233a26705ed piper-nopiper
More info about where helper programs live
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 30 Nov 2016 10:16:23 +0000 |
parents | c17b184c16db |
children |
comparison
equal
deleted
inserted
replaced
283:7ed00474dfbb | 284:8233a26705ed |
---|---|
4 echo "Test failed: $1" | 4 echo "Test failed: $1" |
5 exit 1 | 5 exit 1 |
6 } | 6 } |
7 | 7 |
8 xmllint --version 2>/dev/null || \ | 8 xmllint --version 2>/dev/null || \ |
9 fail "Can't find required xmllint program" | 9 fail "Can't find required xmllint program (from libxml2 distribution)" |
10 | 10 |
11 rapper --version >/dev/null || \ | 11 rapper --version >/dev/null || \ |
12 fail "Can't find required rapper program" | 12 fail "Can't find required rapper program (from raptor/redland distribution)" |
13 | 13 |
14 iconv --version >/dev/null || \ | 14 iconv --version >/dev/null || \ |
15 fail "Can't find required iconv program" | 15 fail "Can't find required iconv program (usually associated with glibc or libiconv)" |
16 | 16 |
17 echo '{}' | json_verify >/dev/null || \ | 17 echo '{}' | json_verify >/dev/null || \ |
18 fail "Can't find required json_verify program, or it doesn't seem to work" | 18 fail "Can't find required json_verify program (from yajl distribution), or it doesn't seem to work" |
19 | 19 |
20 echo '{}' | json_reformat >/dev/null || \ | 20 echo '{}' | json_reformat >/dev/null || \ |
21 fail "Can't find required json_reformat program, or it doesn't seem to work" | 21 fail "Can't find required json_reformat program (from yajl distribution), or it doesn't seem to work" |
22 | 22 |
23 exit 0 | 23 exit 0 |
24 | 24 |