view tests/test-supportprogs/test-supportprogs.sh @ 273:5db279f1e0f8 piper-nopiper

Switch the multiple-audio tests to using amplitudefollower -- percussiononsets is too sensitive to the very low-level noise that comes from variations in mp3 decoder fixed-point arithmetic function choice
author Chris Cannam
date Fri, 25 Nov 2016 13:37:02 +0000
parents c17b184c16db
children 8233a26705ed
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"

iconv --version >/dev/null || \
    fail "Can't find required iconv program"

echo '{}' | json_verify >/dev/null || \
    fail "Can't find required json_verify program, or it doesn't seem to work"

echo '{}' | json_reformat >/dev/null || \
    fail "Can't find required json_reformat program, or it doesn't seem to work"

exit 0