Merge "Debian: using packages for installing Tempest"

This commit is contained in:
Zuul 2018-05-02 10:52:45 +00:00 committed by Gerrit Code Review
commit 55000ee3dc

View File

@ -249,9 +249,14 @@ $SUDO chown -R "$(id -u):$(id -g)" /tmp/openstack/tempest/
# install from source now on ubuntu until packaged
if uses_debs; then
cd /tmp/openstack/tempest-horizon; $SUDO python setup.py install
cd /tmp/openstack/tempest-horizon;
if [ $(lsb_release --id -s) = "Debian" ] ; then
$SUDO apt-get install -y tempest python3-stestr python3-os-testr python3-tempest
else
$SUDO python setup.py install
$SUDO pip install -U stestr os-testr
fi
fi
set +e
# Select what to test: