
Fixing python formatting issues which were failing with run_tests.sh Added following files from an OpenStack project (Keystone): run_tests.sh tools/colorizer.py tools/install_venv.py tools/install_venv_common.py tools/install_venv_common.pyc tools/with_venv.sh Replaced Keystone with Anchor (%s/Keystone/Anchor/g) Run ./run_tests.sh like any other OpenStack project to just run unit tests. Change-Id: I75ebea826cee651e0d691a209ca8f54eddbfeaf8
8 lines
218 B
Bash
Executable File
8 lines
218 B
Bash
Executable File
#!/bin/bash
|
|
TOOLS_PATH=${TOOLS_PATH:-$(dirname $0)}
|
|
VENV_PATH=${VENV_PATH:-${TOOLS_PATH}}
|
|
VENV_DIR=${VENV_NAME:-/../.venv}
|
|
TOOLS=${TOOLS_PATH}
|
|
VENV=${VENV:-${VENV_PATH}/${VENV_DIR}}
|
|
source ${VENV}/bin/activate && "$@"
|