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:
parent
c54450bcd3
commit
f2fadb1fe5
6
other-requirements.txt
Normal file
6
other-requirements.txt
Normal 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]
|
8
tox.ini
8
tox.ini
@ -65,3 +65,11 @@ show-source = True
|
|||||||
ignore = E123,E125,H803,E501
|
ignore = E123,E125,H803,E501
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,release-tag-*
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user