Commit Graph

2 Commits

Author SHA1 Message Date
Paul Goins bb953d9524 Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: Iebf7091f3cf4df91e0f23eb39c3b7c317d1c0264
2019-03-01 14:43:28 +01:00
James Page ace5905fad [wolson,r=jamespage,t=osci] Update restart logic around config-change hook to avoid extra restarts. 2015-01-22 15:37:28 +00:00