comparison tests/include.sh @ 182:11a9ce2fa331

Add ability to read segment boundaries from a file; test for it; bump version no; make test script bail out if path has spaces (can't cope with that, sheesh)
author Chris Cannam
date Fri, 09 Jan 2015 11:48:12 +0000
parents 64a7faf9a122
children 4ef452f5fefc
comparison
equal deleted inserted replaced
181:c5619f2a63b1 182:11a9ce2fa331
1 1
2 mypath=`dirname $0` 2 set -e
3 3
4 version=1.1 4 mypath=$(dirname $0)
5 nextversion=1.2 5
6 case "$(pwd)/$mypath" in
7 *" "*)
8 echo 1>&2
9 echo "ERROR: Test scripts do not handle paths containing spaces (yes, I know)" 1>&2
10 echo "(Path is: \"$(pwd)/$mypath\")" 1>&2
11 exit 1;;
12 *)
13 ;;
14 esac
15
16 version=1.2
17 nextversion=1.3
6 18
7 testdir=$mypath/.. 19 testdir=$mypath/..
8 r=$testdir/../sonic-annotator 20 r=$testdir/../sonic-annotator
9 21
10 audiopath=$testdir/audio 22 audiopath=$testdir/audio