http://d.puremagic.com/issues/show_bug.cgi?id=4708

           Summary: expose rt.trace and rt.cover api's
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: s...@invisibleduck.org
        ReportedBy: bra...@puremagic.com


--- Comment #0 from Brad Roberts <bra...@puremagic.com> 2010-08-22 00:27:21 PDT 
---
The dmd test suite has a few tests that run -profile and -cov.  Right now,
those all output to the same filename with no non-hacky way of getting to those
apis.

They're extern(C)'ed, so they can be forced with repeating the extern
declaration where needed, but that's awfully ugly.

Food for thought.. could the defaults be better?  What's the definition of
better?

Right now, both default to the current directory.  Trace defaults to
'trace.log' and 'trace.def'.  Cover defaults to sourcefile.lst, if I read the
code correctly.

Maybe this would be a good place for some env vars to influence the two?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to