Initial support for bindep

Bindep is an automation tool for opentack-infra that will preinstall
OS packages for test job. Adding this file give us better control of
which packages get installed by default.

Change-Id: Ib3791226965b2847cb99709802bd7ece0ffd36e5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-08-11 05:24:04 -04:00
parent e842085935
commit bc6e3434e6
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 13 additions and 0 deletions

5
other-requirements.txt Normal file
View File

@ -0,0 +1,5 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see http://docs.openstack.org/infra/bindep/ for additional information.
xfsprogs [platform:rpm test]
qemu-img [platform:rpm test]

View File

@ -15,6 +15,14 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[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
[testenv:pep8]
commands = flake8