comparison tests/test-rdf-writer.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
comparison
equal deleted inserted replaced
117:5be4995f4029 118:0fe5abb56a6e
1 #!/bin/bash 1 #!/bin/bash
2 2
3 mypath=`dirname $0` 3 . test-include.sh
4 r=$mypath/../sonic-annotator
5 4
6 infile=$mypath/audio/3clicks8.wav 5 infile=$mypath/audio/3clicks8.wav
7 testplug=vamp:vamp-example-plugins:percussiononsets
8 tmpttl=$mypath/tmp_1_$$.ttl 6 tmpttl=$mypath/tmp_1_$$.ttl
9 7
10 trap "rm -f $tmpttl" 0 8 trap "rm -f $tmpttl" 0
11
12 fail() {
13 echo "Test failed: $1"
14 exit 1
15 }
16 9
17 transformpfx=$mypath/transforms/transforms-rdf-writer-percussiononsets 10 transformpfx=$mypath/transforms/transforms-rdf-writer-percussiononsets
18 11
19 for rdfarg in "" "--rdf-plain" ; do 12 for rdfarg in "" "--rdf-plain" ; do
20 13