view test.sh @ 293:ae7397deffaa

Improve error handling (i.e. add some) for failure to initialise
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 05 Jan 2022 14:02:19 +0000
parents 3eb00e5c76c4
children
line wrap: on
line source
#!/bin/bash

set -eu

mypath=$(dirname "$0")

echo "Building and testing simple server..."

make -f "$mypath"/Makefile clean all test

echo
echo "Building and running test client..."

( cd "$mypath"/vamp-client/qt && qmake && make clean all test &&
      ./test ../../bin/piper-vamp-simple-server )

echo
echo "Done"
echo