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 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: Ib29d02d5ea751f09df26030dcfb9e153ba82661b
This commit is contained in:
Andreas Jaeger 2016-06-27 14:05:25 +02:00
parent c54450bcd3
commit f2fadb1fe5
2 changed files with 14 additions and 0 deletions

6
other-requirements.txt Normal file
View File

@ -0,0 +1,6 @@
dbus-devel [platform:rpm]
dbus-glib-devel [platform:rpm]
language-pack-en [platform:ubuntu]
libjpeg-dev [platform:dpkg]
libdbus-1-dev [platform:dpkg]
libdbus-glib-1-dev [platform:dpkg]

View File

@ -65,3 +65,11 @@ show-source = True
ignore = E123,E125,H803,E501
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,release-tag-*
[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