Mercurial > hg > piper-cpp
changeset 117:5dffc5147176
Small simplification
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 27 Oct 2016 11:40:57 +0100 |
parents | d15cb1151d76 |
children | ff3fd8d1b2dc |
files | test/test-server.sh |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test-server.sh Thu Oct 27 11:39:41 2016 +0100 +++ b/test/test-server.sh Thu Oct 27 11:40:57 2016 +0100 @@ -65,15 +65,16 @@ for format in capnp json ; do - ( while read request ; do + ( export VAMP_PATH="$vampsdkdir"/examples ; + while read request ; do validate_request "$request" echo "$request" done | if [ "$format" = "json" ]; then - VAMP_PATH="$vampsdkdir"/examples bin/piper-vamp-server -d json + bin/piper-vamp-server -d json else bin/piper-convert request -i json -o capnp | - VAMP_PATH="$vampsdkdir"/examples bin/piper-vamp-server -d capnp | + bin/piper-vamp-server -d capnp | bin/piper-convert response -i capnp -o json fi | while read response ; do