From 8e947e2e172206116bc398fec7595a385064dcf1 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 12 Aug 2015 13:46:47 +0200 Subject: [PATCH] Always check all files with syntax check The check-syntax only looks at files itself but if an entity file is changed that is included by other XML files, we would need to check those as well. Since this is not done currently and there are many entity files, let's always check all files for syntax problems. Change-Id: I34970df274e12a15a485bcd8fc3930651af64d4e --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 874f52dc9..4841cccc6 100644 --- a/tox.ini +++ b/tox.ini @@ -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"