summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-20 00:29:49 +0000
committerGerrit Code Review <review@openstack.org>2016-10-20 00:29:49 +0000
commita0d1fe04bc9f9566986b0496a78562b5ec4702e1 (patch)
tree4d170e7a0733c14a795b7fd0bc5fc97a77447e8d
parentd007ef7b2dc93c6c19f2182662f9f5cf05d5d0e8 (diff)
parent46937f8620ddaae42187f221c34b5e1a3b66468b (diff)
downloadpython-swiftclient-a0d1fe04bc9f9566986b0496a78562b5ec4702e1.tar.gz
Merge "add pypy to the bindep "test" profile"
-rw-r--r--bindep.txt4
-rw-r--r--tox.ini9
2 files changed, 11 insertions, 2 deletions
diff --git a/bindep.txt b/bindep.txt
index c587dda..efc5441 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -1,5 +1,5 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see http://docs.openstack.org/infra/bindep/ for additional information.
-pypy
-pypy-dev
+pypy [test]
+pypy-dev [test]
diff --git a/tox.ini b/tox.ini
index 26cfb11..84806cc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -56,3 +56,12 @@ commands=
ignore = H101,H301,H306,H401,H403,H404,H405
show-source = True
exclude = .venv,.tox,dist,doc,*egg
+
+[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.
+usedevelop = False
+deps = bindep
+commands = bindep test