From f03e409f5c370c24649ef04f10eb01ca34559ede Mon Sep 17 00:00:00 2001 From: Jeremy Liu Date: Sat, 12 Nov 2016 22:30:10 +0800 Subject: [PATCH] Add bindep environment to tox This is helpful for listing any missing system requirements [1]. [1] http://docs.openstack.org/infra/manual/drivers.html#package-requirements Change-Id: I7bfa910a09f99354f4a2fb0ff67854a9c89c44fd --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 5bbdcc0c8e..05ceaf22da 100644 --- a/tox.ini +++ b/tox.ini @@ -209,6 +209,14 @@ commands = rm -rf releasenotes/build sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +[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 + [flake8] show-source = True exclude=.eggs,.git,.tox,doc