Mercurial > hg > piper-cpp
annotate test.sh @ 153:e558e042d9c7
The gcc version Travis is using complains about the default return;
changing that, but a bit worried this may presage more
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 20 Jan 2017 18:00:32 +0000 |
parents | bf8e3e7dd7de |
children | 3eb00e5c76c4 |
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@150 | 14 ( cd "$mypath"/vamp-client/qt && qmake && make && |
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 |