4 Commits

Author SHA1 Message Date
Masayuki Igawa
e1a5083ea1
Make bash shebangs through /usr/bin/env
This commit makes bash shebangs through /usr/bin/env. The originals work
correctly. However, it could be more flexible through /usr/bin/env. And
we already have a same thing in tools/tox_install.sh. So this commit
makes them consistent, too.

Change-Id: I35a6940cbd95c3b0f0d0f6391584b826e4de2ce5
2017-04-11 18:46:16 +09:00
ghanshyam
f5360ff14f Sync venv scripts from oslo-incubator
Currently install_venv.py and with_venv.sh create virtual
environment in .venv directory and there is no way to specify
the virtual environment path explicitly.

This has been fixed in oslo-incubator.
This patch sync those virtual environment scripts from oslo-incubator.
Also make run_test.sh and run_tempest.sh scripts to use 'VENV' env variable.

Change-Id: I55311cff4dea1f6c5adaa2a6d51eeee2f6cc71ea
Closes-Bug: 1370086
2015-07-10 11:53:58 +09:00
Matthew Treinish
8e937d7023 Fix use of venv in Tempest.
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
2012-12-18 09:51:23 -05:00
Justin Shepherd
0d9bbd1471 Initial Release 2011-08-26 16:08:57 +02:00