Mercurial > hg > sonic-annotator
diff tests/test-supportprogs.sh @ 0:581b1b150a4d
* copy to sonic-annotator
author | Chris Cannam |
---|---|
date | Thu, 11 Dec 2008 10:22:33 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-supportprogs.sh Thu Dec 11 10:22:33 2008 +0000 @@ -0,0 +1,15 @@ +#!/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" + +exit 0 +