Some changes to make the testing script run on mac, too, + a multithreaded server for riot

This commit is contained in:
Tom Lant 2018-09-25 18:45:08 +01:00
parent 4aad156b92
commit 04b64dbae9
7 changed files with 57 additions and 17 deletions

View file

@ -1,5 +1,7 @@
#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
set -e
BASE_DIR=$(cd $(dirname $0) && pwd)
cd $BASE_DIR
cd installations/consent
source env/bin/activate
@ -9,4 +11,4 @@ EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ]; then
cat $LOGFILE
fi
exit $EXIT_CODE
exit $EXIT_CODE