Mercurial > hg > sonic-annotator
annotate tests/test.sh @ 120:dcecd6997214 test-reorg
Abandon if we fail to add a transform; don't continue with the remaining transforms (that's very confusing behaviour)
author | Chris Cannam |
---|---|
date | Wed, 08 Oct 2014 15:26:48 +0100 |
parents | 7a31201dc42d |
children | 1a6eab755c81 |
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@75 | 10 vamp-test-plugin \ |
Chris@0 | 11 as-advertised \ |
Chris@0 | 12 rdf-writer \ |
Chris@0 | 13 rdf-destinations \ |
Chris@43 | 14 csv-destinations \ |
Chris@0 | 15 summaries \ |
Chris@103 | 16 multiple-audio \ |
Chris@0 | 17 ; do |
Chris@0 | 18 |
Chris@0 | 19 echo -n "$x: " |
Chris@119 | 20 if ( cd $mypath/test-$x ; bash ./test-$x.sh ); then |
Chris@0 | 21 echo test succeeded |
Chris@0 | 22 else |
Chris@0 | 23 echo "*** Test FAILED" |
Chris@0 | 24 exit 1 |
Chris@0 | 25 fi |
Chris@0 | 26 |
Chris@0 | 27 done |
Chris@0 | 28 |