diff --git a/bindep.txt b/bindep.txt index 692c51a7a..67c198bb7 100644 --- a/bindep.txt +++ b/bindep.txt @@ -4,3 +4,7 @@ mysql-server [platform:dpkg] # needed for psql postgresql postgresql-client [platform:dpkg] + +# libsrvg2 is needed for sphinxcontrib-svg2pdfconverter in docs builds. +librsvg2-tools [doc platform:rpm] +librsvg2-bin [doc platform:dpkg] diff --git a/tox.ini b/tox.ini index 5c0662508..dabc6b7f4 100644 --- a/tox.ini +++ b/tox.ini @@ -100,3 +100,13 @@ deps = deps = -r{toxinidir}/test-requirements.txt commands = bandit -r ironic_inspector -x test -n 5 -ll -c tools/bandit.yml +# This environment can be used to quickly validate that all needed system +# packages required to successfully execute test targets are installed +[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 +