[tor-bugs] #9267 [Tor]: Usability tweaks for code coverage

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 16 05:27:56 UTC 2013


#9267: Usability tweaks for code coverage
--------------------------------+-------------------------------------------
 Reporter:  andrea              |          Owner:                    
     Type:  defect              |         Status:  new               
 Priority:  minor               |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor                 |        Version:                    
 Keywords:  tor-client testing  |         Parent:                    
   Points:                      |   Actualpoints:                    
--------------------------------+-------------------------------------------
 The new coverage tools introduced in #8949 have a few rough edges:

  * The cov-diff script wants two directories full of .gcov files, but the
 coverage script dumps them all in the repo root.  There should be a way to
 specify a target directory to put them in.

  * If you modify the code, rebuild and re-run the test suite, the gcov
 instrumentation tries to merge the states into the existing gcda file and
 fails. There should be a makefile target to reset the coverage data by
 deleting just the gcda (not the gcno) files.

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


More information about the tor-bugs mailing list