oslo.messaging/tools/test-setup.sh
Stephen Finucane 7505316902 tox cleanups
'skip_basepython_conflicts' has been the cause of a couple of bugs in
tox 4 and there is talk of it going away. Remove it and fix up a few
other issues in the tox.ini file.

Change-Id: Ic19c896af2ab0cf3570c43e8ceb8cba64fb45cdd
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-18 17:00:10 +00:00

21 lines
769 B
Bash
Executable File

#!/bin/bash -xe
# This script will be run by OpenStack CI before unit tests are run,
# it sets up the test system as needed.
# Developer should setup their test systems in a similar way.
# This setup for amqp1 needs to be run by a user that can run sudo.
# qdrouterd needs to be installed from qpid/testing repo in Ubuntu.
# bindep does not allow setting up another repo, so we just install
# this package here.
# inspired from project-config install-distro-packages.sh
#if apt-get -v >/dev/null 2>&1 ; then
# sudo add-apt-repository -y ppa:qpid/testing
# sudo apt-get -qq update
# sudo PATH=/usr/sbin:/sbin:$PATH DEBIAN_FRONTEND=noninteractive \
# apt-get -q --option "Dpkg::Options::=--force-confold" \
# --assume-yes install qdrouterd
#fi