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: Ifa3d417d9c3f8c172980a593c0a5a4a29987366a
This commit is contained in:
parent
d97d92b453
commit
f74d9e3d82
|
@ -0,0 +1,26 @@
|
||||||
|
# This is a cross-platform list tracking distribution packages needed by tests;
|
||||||
|
# see http://docs.openstack.org/infra/bindep/ for additional information.
|
||||||
|
|
||||||
|
gettext
|
||||||
|
libssl-dev
|
||||||
|
|
||||||
|
dbus-devel [platform:rpm]
|
||||||
|
dbus-glib-devel [platform:rpm]
|
||||||
|
libdbus-1-dev [platform:dpkg]
|
||||||
|
libdbus-glib-1-dev [platform:dpkg]
|
||||||
|
libffi-dev [platform:dpkg]
|
||||||
|
libffi-devel [platform:rpm]
|
||||||
|
libldap2-dev [platform:dpkg]
|
||||||
|
libsasl2-dev [platform:dpkg]
|
||||||
|
libxml2-dev [platform:dpkg]
|
||||||
|
libxslt1-dev [platform:dpkg]
|
||||||
|
python-dev [platform:dpkg]
|
||||||
|
python3-all-dev [platform:ubuntu-trusty]
|
||||||
|
python3-dev [platform:dpkg]
|
||||||
|
python3.4 [platform:ubuntu-trusty]
|
||||||
|
|
||||||
|
cyrus-sasl-devel [platform:rpm]
|
||||||
|
libxml2-devel [platform:rpm]
|
||||||
|
python-devel [platform:rpm]
|
||||||
|
python3-devel [platform:fedora]
|
||||||
|
python34-devel [platform:centos]
|
8
tox.ini
8
tox.ini
|
@ -61,3 +61,11 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
||||||
import_exceptions =
|
import_exceptions =
|
||||||
keystoneclient.i18n
|
keystoneclient.i18n
|
||||||
local-check-factory = keystoneclient.tests.hacking.checks.factory
|
local-check-factory = keystoneclient.tests.hacking.checks.factory
|
||||||
|
|
||||||
|
[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