summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2013-12-06 15:40:24 -0800
committerDevananda van der Veen <devananda.vdv@gmail.com>2013-12-06 15:40:24 -0800
commit6ba95e62a6df910050a83bce5876cc33364ba301 (patch)
treec08b78fde2f87dec6a755f3261b9710c7413439e /tox.ini
parent049cddda6716091fdcad190ca7a84fb938e61dbf (diff)
downloadironic-6ba95e62a6df910050a83bce5876cc33364ba301.tar.gz
Add tools/conf/check_uptodate to tox.ini
To ensure that our sample config file, etc/ironic/ironic.conf.sample, does not get out of sync with the code, this patch introduces a check to tox that will compare the proposed ironic.conf.sample to a freshly generated one, and error if they are not identical. Ported from Nova's tools/config/check_uptodate.sh script. Change-Id: Ic2898142754547e32bc4c03d23eca5d6a33721fc Closes-bug: 1255621
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 59f16461e..5766a30f7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,6 +21,7 @@ downloadcache = ~/cache/pip
[testenv:pep8]
commands =
flake8 {posargs}
+ {toxinidir}/tools/conf/check_uptodate.sh
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}