comparison tests/test-supportprogs/test-supportprogs.sh @ 288:fd4a6183482f kapoor_1202

Merge from branch piper-nopiper. The next release will be based on this.
author Chris Cannam
date Fri, 02 Dec 2016 10:04:44 +0000
parents 8233a26705ed
children
comparison
equal deleted inserted replaced
259:9e7d180be225 288:fd4a6183482f
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