Merge "Check that all po/pot files are valid"

This commit is contained in:
Jenkins 2014-04-01 15:17:24 +00:00 committed by Gerrit Code Review
commit 96f1fe5854
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ deps = -r{toxinidir}/requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals = bash
[tox:jenkins]
downloadcache = ~/cache/pip
@ -19,6 +21,8 @@ downloadcache = ~/cache/pip
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 --null -n 1 msgfmt --check-format -o /dev/null"
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}