Mercurial > hg > sonic-annotator
comparison tests/test-helpfulflags.sh @ 75:2633976fbef5 qt5
Tests (currently failing) for vamp-test-plugin
author | Chris Cannam |
---|---|
date | Tue, 30 Apr 2013 17:12:21 +0100 |
parents | 94d988cef54e |
children | 0fe5abb56a6e |
comparison
equal
deleted
inserted
replaced
74:d78c80be335f | 75:2633976fbef5 |
---|---|
2 | 2 |
3 mypath=`dirname $0` | 3 mypath=`dirname $0` |
4 r=$mypath/../sonic-annotator | 4 r=$mypath/../sonic-annotator |
5 | 5 |
6 testplug=vamp:vamp-example-plugins:percussiononsets | 6 testplug=vamp:vamp-example-plugins:percussiononsets |
7 testplug2=vamp:vamp-test-plugin:vamp-test-plugin | |
7 | 8 |
8 fail() { | 9 fail() { |
9 echo "Test failed: $1" | 10 echo "Test failed: $1" |
10 exit 1 | 11 exit 1 |
11 } | 12 } |
23 fail "Fails to run with --list" | 24 fail "Fails to run with --list" |
24 | 25 |
25 $r --list 2>/dev/null | grep -q $testplug || \ | 26 $r --list 2>/dev/null | grep -q $testplug || \ |
26 fail "Fails to print $testplug in plugin list (if you haven't got it, install it -- it's needed for other tests)" | 27 fail "Fails to print $testplug in plugin list (if you haven't got it, install it -- it's needed for other tests)" |
27 | 28 |
29 $r --list 2>/dev/null | grep -q $testplug2 || \ | |
30 fail "Fails to print $testplug2 in plugin list (if you haven't got it, install it -- it's needed for other tests)" | |
31 | |
28 $r --skeleton $testplug >/dev/null || \ | 32 $r --skeleton $testplug >/dev/null || \ |
29 fail "Fails to run with --skeleton $testplug" | 33 fail "Fails to run with --skeleton $testplug" |
30 | 34 |
31 $r -s $testplug >/dev/null || \ | 35 $r -s $testplug >/dev/null || \ |
32 fail "Fails to run with -s $testplug" | 36 fail "Fails to run with -s $testplug" |