minaco2 / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

--coverage flag not treated correctly #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
--coverage is a shortcut for
-fprofile-arcs -ftest-coverage

but distcc does not handle --coverage correctly;

distcc should behave as if the other two flags were specified, which is to 
compile locally.

What distcc actually does is to ignore --coverage completely; e.g. it compiles 
remote, but "forgets" the gcno file on the server.

The effect is that it seems to work without error, but all the gcno files are 
missing and the code coverage tools cant work. The workaround is to temporarily 
disable distcc :-(

Original issue reported on code.google.com by climbera...@gmail.com on 2 Jan 2014 at 10:56

GoogleCodeExporter commented 9 years ago
Thanks for the bug report.

Fixed in revision 784.

Original comment by fergus.h...@gmail.com on 27 Feb 2014 at 1:56