summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-04-01 15:17:24 +0000
committerGerrit Code Review <review@openstack.org>2014-04-01 15:17:24 +0000
commit96f1fe5854f1798fcf24ea9027b327fc122a1cfd (patch)
tree21fddbc3e31c164d4e942c5139813bf497e794cd
parent9f04dd15081181e1758c4bfde922d49956850fe3 (diff)
parent5d363dc9c449a60f5a9fd5f06e8b541803dd17f5 (diff)
downloadironic-2014.1.rc1.tar.gz
Merge "Check that all po/pot files are valid"2014.1.rc1
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index aa5e070d6..65d647a24 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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}