view tests/test.sh @ 152:db83ea0e102d jams

Make the JSON well-formed (though still empty), except in the case where we are asked to write more than one file's features to the same output file or stdout
author Chris Cannam
date Tue, 14 Oct 2014 12:35:19 +0100
parents d86ef0a88fa4
children 4b19d824a213
line wrap: on
line source
#!/bin/bash

mypath=`dirname $0`

for x in \
    supportprogs \
    helpfulflags \
    transforms-basic \
    audioformat \
    vamp-test-plugin \
    as-advertised \
    rdf-writer \
    rdf-destinations \
    csv-destinations \
    midi-destinations \
    json-destinations \
    summaries \
    multiple-audio \
    ; do

    echo -n "$x: "
    if ( cd $mypath/test-$x ; bash ./test-$x.sh ); then
	echo test succeeded
    else
	echo "*** Test FAILED"
	exit 1
    fi

done