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-30 08:45:00 +0200
commit8f872e9a56e65ae06ef4dc561bc9fb01172d98d7 (patch)
treed46abb26b81ed287a495d505d93ce4337dcf0ad0 /tox.ini
parent42df871266fecb25f303ed8b34375ab2764b8001 (diff)
downloadpython-keystoneclient-8f872e9a56e65ae06ef4dc561bc9fb01172d98d7.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/ Also, merge Xenial followup change into this. Change-Id: Ifa3d417d9c3f8c172980a593c0a5a4a29987366a (cherry picked from commit f74d9e3d82ad46efb27069487670165e2c30dc45) (cherry picked from commit 5dc965e268a5a1fa0c39dc6bcef4ef9bf717c8c0)
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 7555846..8e15371 100644
--- a/tox.ini
+++ b/tox.ini
@@ -72,3 +72,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