List system dependencies for running common tests
Add an other-requirements.txt file containing a cross-platform list of dependencies needed for running included tox-based tests. Also include a tox environment for convenience calling the bindep[*] utility to list any missing system requirements. This change is needed since the infra team will not install standard packages in jobs anymore, projects should use other-requirements.txt instead. The macros xvfb-install, firefox-install, chrome-install which are used to run some jobs for this repository will be removed soon. This change is self-testing. For other-requirements.txt see also http://docs.openstack.org/infra/manual/drivers.html#package-requirements [*] http://docs.openstack.org/infra/bindep/ Change-Id: I85f7842992f90903e6ca53bcb88e9607d63fac79
This commit is contained in:
parent
7aa75718d9
commit
bc62d50dfa
40
other-requirements.txt
Normal file
40
other-requirements.txt
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# This is a cross-platform list tracking distribution packages needed by tests;
|
||||||
|
# see http://docs.openstack.org/infra/bindep/ for additional information.
|
||||||
|
|
||||||
|
apt-transport-https
|
||||||
|
lsb-release
|
||||||
|
ant
|
||||||
|
build-essential [platform:dpkg]
|
||||||
|
curl
|
||||||
|
cyrus-sasl-devel [platform:rpm]
|
||||||
|
dbus
|
||||||
|
firefox [!platform:debian]
|
||||||
|
gawk
|
||||||
|
iceweasel [platform:debian]
|
||||||
|
language-pack-en [platform:ubuntu]
|
||||||
|
libcurl-devel [platform:rpm]
|
||||||
|
libcurl4-gnutls-dev [platform:dpkg]
|
||||||
|
libffi-dev [platform:dpkg]
|
||||||
|
libffi-devel [platform:rpm]
|
||||||
|
libjpeg-dev [platform:dpkg]
|
||||||
|
libjpeg-turbo-devel [platform:rpm]
|
||||||
|
libldap2-dev [platform:dpkg]
|
||||||
|
libsasl2-dev [platform:dpkg]
|
||||||
|
libselinux-python [platform:rpm]
|
||||||
|
libuuid-devel [platform:rpm]
|
||||||
|
locales [platform:debian]
|
||||||
|
pkg-config [platform:dpkg]
|
||||||
|
pkgconfig [platform:rpm]
|
||||||
|
python-dev [platform:dpkg]
|
||||||
|
python-devel [platform:rpm]
|
||||||
|
python-libvirt [platform:dpkg]
|
||||||
|
python-lxml
|
||||||
|
python3-all-dev [platform:ubuntu-trusty]
|
||||||
|
python3-dev [platform:dpkg]
|
||||||
|
python3-devel [platform:fedora]
|
||||||
|
python3.4 [platform:ubuntu-trusty]
|
||||||
|
python34-devel [platform:centos]
|
||||||
|
unzip
|
||||||
|
uuid-dev [platform:dpkg]
|
||||||
|
xorg-x11-server-Xvfb [platform:rpm]
|
||||||
|
xvfb [platform:dpkg]
|
8
tox.ini
8
tox.ini
@ -41,3 +41,11 @@ show-source = True
|
|||||||
ignore = E123,E125
|
ignore = E123,E125
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
|
||||||
|
[testenv:bindep]
|
||||||
|
# Do not install any requirements. We want this to be fast and work even if
|
||||||
|
# system dependencies are missing, since it's used to tell you what system
|
||||||
|
# dependencies are missing! This also means that bindep must be installed
|
||||||
|
# separately, outside of the requirements files.
|
||||||
|
deps = bindep
|
||||||
|
commands = bindep test
|
||||||
|
Loading…
Reference in New Issue
Block a user