]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Remove 'trialcoverage' plugin and support code 107/head
authorBrian Warner <warner@lothar.com>
Tue, 9 Sep 2014 00:28:26 +0000 (17:28 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 9 Sep 2014 00:28:26 +0000 (17:28 -0700)
commit6ffcb501734053b4e77e060e5baea8b9c9396214
treedee534d25f1f44973e26e3d7b380d628295cf4b7
parent53dc72318403b3a1de3a93dc43f35d15338d5b42
Remove 'trialcoverage' plugin and support code

Closes ticket:2281 (trac).

This removes src/allmydata/test/trial_coverage.py, which was a
in-process way to run trial tests under the "coverage" code-coverage
tool. These days, the preferred way to do this is with "coverage run",
although the actual invocation is a bit messy because of the way
bin/trial uses subprocess.call() to invoke the real entrypoint script
with the right PYTHONPATH (see #1698 for details). Hopefully this will
be improved to use a simpler "coverage run .." command in the future.

This patch also removes twisted/plugins/allmydata_trial.py, which
enabled the "--reporter=bwverbose-coverage" option. Finally it modifies
setup.py to stop looking for that option and adding "trialcoverage" to
the dependencies list, which gets us closer to removing "setup_requires"
entirely.
setup.py
src/allmydata/test/trial_coverage.py [deleted file]
twisted/plugins/allmydata_trial.py [deleted file]