Add genconfig tox job for sample config file generation

Wrap generate_sample.sh in tox. This will make sure needed
dependencies are installed prior to sample config file generation.

Change-Id: I426be3416931a385f99ca5270943a0f10c60f346
This commit is contained in:
Mathieu Gagné 2014-06-20 13:19:42 -04:00
parent bd4e556e68
commit 9dd3797149

View File

@ -39,6 +39,10 @@ commands =
python setup.py testr --coverage \
--testr-args='^(?!.*test.*coverage).*$'
[testenv:genconfig]
commands =
bash tools/config/generate_sample.sh -b . -p cinder -o etc/cinder
[testenv:venv]
commands = {posargs}