view tests/test.sh @ 197:3b7ec45abd1c

Add mandatory option --json-format to JSON feature writer, in preparation for supporting multiple JSON formats (perhaps) in future
author Chris Cannam
date Tue, 01 Sep 2015 17:05:32 +0100
parents 082c3f21f49e
children f35bbb3e4d41
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-writer \
    csv-destinations \
    lab-writer \
    lab-destinations \
    midi-writer \
    midi-destinations \
    json-writer \
    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