Merge "Always check all files with syntax check"

This commit is contained in:
Jenkins 2015-08-12 20:09:06 +00:00 committed by Gerrit Code Review
commit 64246a22d4
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,10 @@ commands =
[testenv:checksyntax]
commands =
openstack-doc-test --check-syntax {posargs}
# WADLs using entity files are not properly handled by
# openstack-doc-test, we therefore have to check all files that
# are in the tree for any syntax issues.
openstack-doc-test --check-syntax --force {posargs}
# Check that .po and .pot files are valid:
bash -c "find api* -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"