annotate tests/test.sh @ 55:43d788236ed1

Add unit test for multiple outputs in one run
author Chris Cannam
date Fri, 06 Jan 2012 14:53:46 +0000
parents 9cc5e78dcfbd
children d78c80be335f
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@43 13 csv-destinations \
Chris@0 14 summaries \
Chris@0 15 ; do
Chris@0 16
Chris@0 17 echo -n "$x: "
Chris@0 18 if bash $mypath/test-$x.sh; then
Chris@0 19 echo test succeeded
Chris@0 20 else
Chris@0 21 echo "*** Test FAILED"
Chris@0 22 exit 1
Chris@0 23 fi
Chris@0 24
Chris@0 25 done
Chris@0 26