comparison tests/test.sh @ 119:7a31201dc42d test-reorg

Split out tests into individual directories, with simpler naming therein
author Chris Cannam
date Wed, 08 Oct 2014 15:08:57 +0100
parents 344d5982bbf8
children 1a6eab755c81
comparison
equal deleted inserted replaced
118:0fe5abb56a6e 119:7a31201dc42d
1 #!/bin/bash 1 #!/bin/bash
2 2
3 mypath=`dirname $0` 3 mypath=`dirname $0`
4
5
6 4
7 for x in \ 5 for x in \
8 supportprogs \ 6 supportprogs \
9 helpfulflags \ 7 helpfulflags \
10 transforms-basic \ 8 transforms-basic \
17 summaries \ 15 summaries \
18 multiple-audio \ 16 multiple-audio \
19 ; do 17 ; do
20 18
21 echo -n "$x: " 19 echo -n "$x: "
22 if ( cd $mypath ; bash ./test-$x.sh ); then 20 if ( cd $mypath/test-$x ; bash ./test-$x.sh ); then
23 echo test succeeded 21 echo test succeeded
24 else 22 else
25 echo "*** Test FAILED" 23 echo "*** Test FAILED"
26 exit 1 24 exit 1
27 fi 25 fi