view tests/test-supportprogs.sh @ 109:78a7c77ba432

A more general solution (I hope) to the problem of making sure transforms are always run in a consistent order
author Chris Cannam
date Thu, 02 Oct 2014 14:54:09 +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