[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs