Mercurial > hg > sonic-annotator
view tests/test-supportprogs/test-supportprogs.sh @ 182:11a9ce2fa331
Add ability to read segment boundaries from a file; test for it; bump version no; make test script bail out if path has spaces (can't cope with that, sheesh)
author | Chris Cannam |
---|---|
date | Fri, 09 Jan 2015 11:48:12 +0000 |
parents | a1300db6c63e |
children | cbbf8a838b47 |
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" echo '{}' | json_verify >/dev/null || \ fail "Can't find required json_verify program, or it doesn't seem to work" exit 0