From f2fadb1fe5fece39ba30954b89ff4cb7009c58bb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 27 Jun 2016 14:05:25 +0200 Subject: [PATCH] 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 --- other-requirements.txt | 6 ++++++ tox.ini | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 other-requirements.txt diff --git a/other-requirements.txt b/other-requirements.txt new file mode 100644 index 0000000000..d015f8740d --- /dev/null +++ b/other-requirements.txt @@ -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] diff --git a/tox.ini b/tox.ini index c1e4a59c14..ee1f47bc78 100644 --- a/tox.ini +++ b/tox.ini @@ -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