view tests/test.sh @ 35:c1b3af62bc2a

* Avoid failing on second and subsequent input files in single-output-file mode (because first input file caused output file to be open, so second input file failed because output "already existed")
author Chris Cannam
date Mon, 24 May 2010 16:03:41 +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