diff options
author | Andreas Jaeger <aj@suse.com> | 2016-06-28 11:46:50 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2016-06-30 08:48:43 +0200 |
commit | 195594b343a9adc35a1f7d12617d3616dda8a99e (patch) | |
tree | 8f5cea4c27b88aba7c4c867c7296e1fbc600fac2 | |
parent | 9f2afa54789f0183a41900447bd14ca0960fec3f (diff) | |
download | python-keystoneclient-stable/liberty.tar.gz |
List system dependencies for running common testsliberty-eolstable/liberty
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/
Also, merge Xenial followup change into this.
Change-Id: Ifa3d417d9c3f8c172980a593c0a5a4a29987366a
(cherry picked from commit f74d9e3d82ad46efb27069487670165e2c30dc45)
(cherry picked from commit 5dc965e268a5a1fa0c39dc6bcef4ef9bf717c8c0)
-rw-r--r-- | other-requirements.txt | 27 | ||||
-rw-r--r-- | tox.ini | 8 |
2 files changed, 35 insertions, 0 deletions
diff --git a/other-requirements.txt b/other-requirements.txt new file mode 100644 index 0000000..4ed3c07 --- /dev/null +++ b/other-requirements.txt @@ -0,0 +1,27 @@ +# 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 !platform:ubuntu-precise] +python3-dev [platform:dpkg] +python3.4 [platform:ubuntu-trusty] +python3.5 [platform:ubuntu-xenial] + +cyrus-sasl-devel [platform:rpm] +libxml2-devel [platform:rpm] +python-devel [platform:rpm] +python3-devel [platform:fedora] +python34-devel [platform:centos] @@ -52,3 +52,11 @@ commands= import_exceptions = keystoneclient.i18n local-check-factory = keystoneclient.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 |