annotate test.sh @ 185:3eb00e5c76c4

Pull step & block size out into framing struct, return in config Update the C++ code to separate out the framing parameters (step and block size) from the configuration structure into their own structure, as in the latest schema, and to return the accepted framing params in the configuration response. This also implies that the plugin stub (which adapts Piper API back to Vamp) makes a note of the returned values, making them available via its own getPreferredStep/BlockSize so that the host can retry the initialise call in the case where it failed for having the wrong values first time.
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 03 Feb 2017 16:23:21 +0000
parents bf8e3e7dd7de
children
rev   line source
cannam@150 1 #!/bin/bash
cannam@150 2
cannam@150 3 set -eu
cannam@150 4
cannam@150 5 mypath=$(dirname "$0")
cannam@150 6
cannam@150 7 echo "Building and testing simple server..."
cannam@150 8
cannam@150 9 make -f "$mypath"/Makefile clean all test
cannam@150 10
cannam@150 11 echo
cannam@150 12 echo "Building and running test client..."
cannam@150 13
cannam@185 14 ( cd "$mypath"/vamp-client/qt && qmake && make clean all test &&
cannam@150 15 ./test ../../bin/piper-vamp-simple-server )
cannam@150 16
cannam@150 17 echo
cannam@150 18 echo "Done"
cannam@150 19 echo