tornado/maint/test/websocket/run-client.sh

20 lines
353 B
Bash
Raw Normal View History

#!/bin/sh
set -e
tox
.tox/py27/bin/wstest -m fuzzingserver &
FUZZING_SERVER_PID=$!
sleep 1
.tox/py27/bin/python client.py --name='Tornado/py27'
.tox/py35/bin/python client.py --name='Tornado/py35'
.tox/pypy/bin/python client.py --name='Tornado/pypy'
kill $FUZZING_SERVER_PID
wait
echo "Tests complete. Output is in ./reports/clients/index.html"