summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-06-28 11:46:50 +0200
committerAndreas Jaeger <aj@suse.com>2016-06-28 16:29:44 +0200
commitf74d9e3d82ad46efb27069487670165e2c30dc45 (patch)
tree0fbfc99cf3f5ce45917c2a3f8dca048dc8a47810 /tox.ini
parentd97d92b4539263cbf6b6a3130211ad35cda47e0d (diff)
downloadpython-keystoneclient-f74d9e3d82ad46efb27069487670165e2c30dc45.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: Ifa3d417d9c3f8c172980a593c0a5a4a29987366a
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 99c9797..83ba185 100644
--- a/tox.ini
+++ b/tox.ini
@@ -61,3 +61,11 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
import_exceptions =
keystoneclient.i18n
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