summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-06-28 14:26:12 +0200
committerAndreas Jaeger <aj@suse.com>2016-06-29 09:23:55 +0200
commitd6ca9e2d7473f6d15a3c76bcd5a7c3cc65b49296 (patch)
treecc1790c29898ddc843f4e260c824ba2b7f6d8aad /tox.ini
parent78a04ef4b27454d1dc3d83585321708b72ea87dd (diff)
downloadpython-novaclient-d6ca9e2d7473f6d15a3c76bcd5a7c3cc65b49296.tar.gz
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: I3c62f6924d2d70e23e6787b8da848fbeb0d52ddc
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 6dc6de41..92212f75 100644
--- a/tox.ini
+++ b/tox.ini
@@ -69,3 +69,11 @@ exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build,doc/source/conf.py,releasen
[hacking]
import_exceptions = novaclient.i18n
+
+[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