Install tempest instead of just adding it to PYTHONPATH
This commit really does a setup on tempest instead of just adding it to the python path. The advantage of this is that entry points for scripts like verify-tempest-config will actually be linked properly so that they can be run directly. Change-Id: I42a433955fde2e43ba783ccfdd08b893518358b4
This commit is contained in:
parent
ada968e162
commit
bf6e25aadc
@ -32,7 +32,7 @@ echo "Successfully contacted the Barbican (admin) API"
|
|||||||
# Where tempest code lives
|
# Where tempest code lives
|
||||||
TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest}
|
TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest}
|
||||||
|
|
||||||
# Add tempest source tree to PYTHONPATH
|
# Install tempest
|
||||||
export PYTHONPATH=$PYTHONPATH:$TEMPEST_DIR
|
pip install -e $TEMPEST_DIR
|
||||||
|
|
||||||
nosetests -v .
|
nosetests -v .
|
||||||
|
Loading…
Reference in New Issue
Block a user