Use doc-test-exceptions file for gating

Use doc-test-exceptions.txt to contain list of files to ignore
for gating tests.

Change-Id: Id0748289747f94598542a85e3caf7fb5a00aaa7d
This commit is contained in:
Andreas Jaeger 2014-01-28 19:32:42 +01:00
parent 0227a30bca
commit 1afbccbea3
2 changed files with 7 additions and 3 deletions

4
doc-test-exceptions.txt Normal file
View File

@ -0,0 +1,4 @@
# Not whitelisted via bk-*.xml
st-training-guides.xml
# Not in xml format
ha-guide-docinfo.xml

View File

@ -18,10 +18,10 @@ commands = {posargs}
commands = openstack-doc-test --check-niceness {posargs}
[testenv:checksyntax]
commands = openstack-doc-test --check-syntax {posargs}
commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-syntax {posargs}
[testenv:checkdeletions]
commands = openstack-doc-test --check-deletions {posargs}
commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-deletions {posargs}
[testenv:checkbuild]
commands = openstack-doc-test --check-build {posargs}
commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-build {posargs}