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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 16 13:51:02 UTC 2013


#9267: Usability tweaks for code coverage
--------------------------------+-------------------------------------------
 Reporter:  andrea              |          Owner:                    
     Type:  defect              |         Status:  needs_review      
 Priority:  minor               |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor                 |        Version:                    
 Keywords:  tor-client testing  |         Parent:                    
   Points:                      |   Actualpoints:                    
--------------------------------+-------------------------------------------

Comment(by andrea):

 Also: it is not necessarily true that gcov -o src_or_lib_foo_a-bar.o
 src/or/bar.c only writes to bar.gcov; it may also emit .gcov files for
 referenced headers if they contain executable lines such as inline
 functions.  Since these may be generated more than once for the same
 source file, they would be overwritten by the repeated invocations of gcov
 in the old version of contrib/coverage.  In this new version, they are not
 moved to the destination directory since they do not match "${BN}.gcov"
 for any basename which occurs.

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


More information about the tor-bugs mailing list