annotate 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
rev   line source
Chris@0 1 #!/bin/bash
Chris@0 2
Chris@0 3 mypath=`dirname $0`
Chris@0 4
Chris@0 5 for x in \
Chris@0 6 supportprogs \
Chris@0 7 helpfulflags \
Chris@0 8 transforms-basic \
Chris@0 9 audioformat \
Chris@0 10 as-advertised \
Chris@0 11 rdf-writer \
Chris@0 12 rdf-destinations \
Chris@0 13 summaries \
Chris@0 14 ; do
Chris@0 15
Chris@0 16 echo -n "$x: "
Chris@0 17 if bash $mypath/test-$x.sh; then
Chris@0 18 echo test succeeded
Chris@0 19 else
Chris@0 20 echo "*** Test FAILED"
Chris@0 21 exit 1
Chris@0 22 fi
Chris@0 23
Chris@0 24 done
Chris@0 25