comparison tests/test-supportprogs.sh @ 0:581b1b150a4d

* copy to sonic-annotator
author Chris Cannam
date Thu, 11 Dec 2008 10:22:33 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:581b1b150a4d
1 #!/bin/bash
2
3 fail() {
4 echo "Test failed: $1"
5 exit 1
6 }
7
8 xmllint --version 2>/dev/null || \
9 fail "Can't find required xmllint program"
10
11 rapper --version >/dev/null || \
12 fail "Can't find required rapper program"
13
14 exit 0
15