8e937d7023
Currently when running Tempest tests with run_tests.sh a venv isn't being used. This leaves tempest at the mercy of whatever required package versions are installed on the system. This patch takes install_venv.py and with_venv.sh from nova and integrates them into run_tests to ensure that the correct dependencies versions from pip-requires and test-requires are being used. Change-Id: I4bf4a02890a33c4034e4493d1763ed4019fdf46e
5 lines
86 B
Bash
Executable File
5 lines
86 B
Bash
Executable File
#!/bin/bash
|
|
TOOLS=`dirname $0`
|
|
VENV=$TOOLS/../.venv
|
|
source $VENV/bin/activate && "$@"
|