view tests/test-supportprogs.sh @ 83:e3b4bac5b114

Add sv-dependency-builds subdir for dependencies (may or may not exist)
author Chris Cannam
date Thu, 09 May 2013 10:34:52 +0100
parents 581b1b150a4d
children
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"

exit 0