Mercurial > hg > piper-cpp
comparison test/test-server.sh @ 125:ea06fae1567c
Rename server to simple-server, and add some more description in usage
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 28 Oct 2016 11:08:17 +0100 |
parents | 5dffc5147176 |
children | 5b113c87b6e6 |
comparison
equal
deleted
inserted
replaced
124:4ff643c1eccc | 125:ea06fae1567c |
---|---|
69 while read request ; do | 69 while read request ; do |
70 validate_request "$request" | 70 validate_request "$request" |
71 echo "$request" | 71 echo "$request" |
72 done | | 72 done | |
73 if [ "$format" = "json" ]; then | 73 if [ "$format" = "json" ]; then |
74 bin/piper-vamp-server -d json | 74 bin/piper-vamp-simple-server -d json |
75 else | 75 else |
76 bin/piper-convert request -i json -o capnp | | 76 bin/piper-convert request -i json -o capnp | |
77 bin/piper-vamp-server -d capnp | | 77 bin/piper-vamp-simple-server -d capnp | |
78 bin/piper-convert response -i capnp -o json | 78 bin/piper-convert response -i capnp -o json |
79 fi | | 79 fi | |
80 while read response ; do | 80 while read response ; do |
81 echo "$response" >> "$allrespfile" | 81 echo "$response" >> "$allrespfile" |
82 validate_response "$response" | 82 validate_response "$response" |