diff --git a/tox.ini b/tox.ini index 2c792d1735..b5ed9dab5f 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,6 @@ downloadcache = ~/cache/pip [testenv:pep8] commands = flake8 {posargs} - {toxinidir}/tools/config/check_uptodate.sh # Check that .po and .pot files are valid: bash -c "find ironic -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null" @@ -29,7 +28,15 @@ setenv = VIRTUAL_ENV={envdir} commands = python setup.py testr --coverage {posargs} +[testenv:checkconfig] +sitepackages = False +envdir = {toxworkdir}/venv +commands = + {toxinidir}/tools/config/check_uptodate.sh + [testenv:genconfig] +sitepackages = False +envdir = {toxworkdir}/venv commands = bash tools/config/generate_sample.sh -b . -p ironic -o etc/ironic