diff --git a/other-requirements.txt b/other-requirements.txt new file mode 100644 index 000000000..11d72bce2 --- /dev/null +++ b/other-requirements.txt @@ -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] diff --git a/tox.ini b/tox.ini index 22adfd1e9..74f6ce03f 100644 --- a/tox.ini +++ b/tox.ini @@ -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