rally/tools/with_venv.sh
Boris Pavlovic f6e6f16dd9 Add run_tests.sh as alternative for tox
Add run_tests.sh and tools that depends from it from oslo-incubator.

run_tests.sh has much more siplier interface, works much more faster and
display infromation in much more human readable format.
2013-08-24 18:10:32 +04:00

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 && "$@"