[CMake] Problems with coverage on OS X Server
Sean McBride
sean at rogue-research.com
Mon Mar 26 10:44:46 EDT 2012
On Sat, 24 Mar 2012 08:53:04 -0400, David Cole said:
>The answer to that stackoverflow question recommends using
>clang/clang++ instead. (I have not tried this yet myself, but would
>not be entirely surprised to find out it's correct. I have observed
>the zero coverage phenomenon on my own Mac laptop, but have sufficient
>coverage capabilities elsewhere... so I didn't care enough to follow
>up on it previously.)
The state of code coverage with Mac OS tools is not great. The gcc and llvm-gcc that Apple ship don't support coverage. clang didn't support it for a long time, but now does, but there are still a number of bugs, notably this one:
<http://llvm.org/bugs/show_bug.cgi?id=11457>
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the CMake
mailing list