Mercurial > hg > sonic-annotator
annotate tests/test-supportprogs.sh @ 60:400e09d69b8f
Add file: URI for file -- this is stripped out by the test script afterwards, I'm not sure how it got stripped from the source as well but obviously it's not parseable without it
author | Chris Cannam |
---|---|
date | Thu, 24 May 2012 11:35:54 +0100 |
parents | 581b1b150a4d |
children |
rev | line source |
---|---|
Chris@0 | 1 #!/bin/bash |
Chris@0 | 2 |
Chris@0 | 3 fail() { |
Chris@0 | 4 echo "Test failed: $1" |
Chris@0 | 5 exit 1 |
Chris@0 | 6 } |
Chris@0 | 7 |
Chris@0 | 8 xmllint --version 2>/dev/null || \ |
Chris@0 | 9 fail "Can't find required xmllint program" |
Chris@0 | 10 |
Chris@0 | 11 rapper --version >/dev/null || \ |
Chris@0 | 12 fail "Can't find required rapper program" |
Chris@0 | 13 |
Chris@0 | 14 exit 0 |
Chris@0 | 15 |