Menu

Commit [r9534]  Maximize  Restore  History

Makefile: switching `make coverage` to use Ned Batchelder's excellent [http://nedbatchelder.com/code/coverage/ coverage.py] system, instead of figleaf.

The (non working) figleaf rules have nevertheless been kept (`make figleaf` et al).

coverage.py has no problem with doctests and the generated output is much nicer.
The problem with with functional tests is still not solved though (probably due to server exit condition).

You can also take benefit from advanced coverage feature by setting the `coverageopts` variable, e.g. `make coverage coverageopts='--branch'`.

cboos 2010-04-23

changed /trunk/Makefile
changed /trunk/trac/tests/functional/testenv.py
/trunk/Makefile Diff Switch to side-by-side view
Loading...
/trunk/trac/tests/functional/testenv.py Diff Switch to side-by-side view
Loading...