dmd test coverage

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 28 11:32:25 PST 2014


On Thu, Nov 27, 2014 at 09:05:16PM -0800, Walter Bright via Digitalmars-d wrote:
> On 11/27/2014 4:54 PM, H. S. Teoh via Digitalmars-d wrote:
> >How do I locally test dmd for coverage? I have a fix for the missing
> >coverage for version.c, but I can't figure out how to test whether
> >it's actually working.
> 
> In posix.mak for dmd, there's 'make gcov' to generate coverage data.

I get a whole bunch of errors that say 'cannot open notes file'.  What
does that mean?

Also, don't I have to first compile dmd with --coverage and run the test
suite before it has the coverage data??


T

-- 
Give me some fresh salted fish, please.


More information about the Digitalmars-d mailing list