run_test_server.sh 495 B

123456789101112131415161718
  1. #
  2. # Copyright (c) 2016-present, Facebook, Inc.
  3. # All rights reserved.
  4. #
  5. # This source code is licensed under the license found in the
  6. # LICENSE-examples file in the root directory of this source tree.
  7. #
  8. PYENV_PATH=$(pwd)/.env
  9. echo $PYENV_PATH
  10. if [ -d "$PYENV_PATH" ]; then
  11. source $PYENV_PATH/bin/activate
  12. $PYENV_PATH/bin/wstest -m fuzzingserver -s TestSupport/autobahn_fuzzingserver.json
  13. else
  14. echo "Python Virtualenv not set up. Please run './TestSupport/setup_env.sh .env' first."
  15. fi