Mercurial > hg > sonic-annotator
diff tests/test-as-advertised.sh @ 118:0fe5abb56a6e test-reorg
Pull more stuff up into include file
author | Chris Cannam |
---|---|
date | Wed, 08 Oct 2014 14:20:45 +0100 |
parents | 94d988cef54e |
children |
line wrap: on
line diff
--- a/tests/test-as-advertised.sh Wed Oct 08 13:14:39 2014 +0100 +++ b/tests/test-as-advertised.sh Wed Oct 08 14:20:45 2014 +0100 @@ -1,20 +1,13 @@ #!/bin/bash -mypath=`dirname $0` -r=$mypath/../sonic-annotator +. test-include.sh infile=$mypath/audio/3clicks8.wav -testplug=vamp:vamp-example-plugins:percussiononsets tmpdir=$mypath/tmp_1_$$.dir tmpwav=$tmpdir/test.wav trap "rm -rf $tmpdir" 0 -fail() { - echo "Test failed: $1" - exit 1 -} - types=`\ $r --help 2>&1 | \ grep 'Supported writer types are:' | \