[tor-bugs] #12591 [Tor]: Lcov coverage reports

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 10 09:09:01 UTC 2014


#12591: Lcov coverage reports
-------------------------+---------------------------
 Reporter:  daube        |          Owner:  <default>
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Tor          |        Version:
 Keywords:  coverage     |  Actual Points:
Parent ID:               |         Points:
-------------------------+---------------------------
 I've implemented a makefile target to generate pretty html output as
 discussed from [0] on tor-dev. This target basically resets any coverage
 files, runs ./src/test/test (only) and then generates lcov's internal
 coverage report, followed by genhtml's HTML coverage report. I've also
 added a stanza on using lcov via this make target to doc/HACKING.

 The implementation of coverage diffs using lcov is something I'm
 investigating, and will post back here when I have further progress.
 Initially, i'll just implement the kludge the lcov mailing list via Nick
 suggests at [1].

 [0]: https://lists.torproject.org/pipermail/tor-dev/2014-June/007005.html
 [1]: https://lists.torproject.org/pipermail/tor-dev/2014-June/007035.html

 Cheers,
 daube

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12591>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list