From: Mathieu Gagné Date: Fri, 20 Jun 2014 17:19:42 +0000 (-0400) Subject: Add genconfig tox job for sample config file generation X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9dd37971498bc32bc8ca0e2c0cd0f68cc60c8c46;p=openstack-build%2Fcinder-build.git 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 --- diff --git a/tox.ini b/tox.ini index 348745b04..98404315a 100644 --- a/tox.ini +++ b/tox.ini @@ -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}