view tests/test.sh @ 24:18c42fbc1335

* Various fixes: ensure CSV feature writer closes files when finished with (rather than at end of run) to avoid running out of fds; bail properly with an exception with CSV writer can't write to output file; and other minor things
author Chris Cannam
date Tue, 08 Sep 2009 16:51:24 +0000
parents 581b1b150a4d
children 9cc5e78dcfbd
line wrap: on
line source
#!/bin/bash

mypath=`dirname $0`

for x in \
    supportprogs \
    helpfulflags \
    transforms-basic \
    audioformat \
    as-advertised \
    rdf-writer \
    rdf-destinations \
    summaries \
    ; do

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

done