Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #668 (closed enhancement: wontfix)

Opened 1 year ago

Last modified 1 month ago

patch to improve coverage abilities

Reported by: BCS Assigned to: sean
Priority: normal Milestone: 0.99.8
Component: Core Functionality Version:
Keywords: coverage triage Cc:

Description

This patch allows for a program to: -- zero the coverage counters -- dump coverage files at will

This can be used to allow a given unittest to dump just the coverage data for it's self.

unittest {

Wipe(); scope(exit) Drop("This_test.")

///test

}

Attachments

cover.tanog.patch (1.6 kB) - added by BCS on 10/06/07 22:15:23.
a patch to trunk\lib\compiler\dmd\cover.d

Change History

10/06/07 22:15:23 changed by BCS

  • attachment cover.tanog.patch added.

a patch to trunk\lib\compiler\dmd\cover.d

10/06/07 22:19:29 changed by BCS

I forgot to mention. I have tried this modification under phobos, but I haven't tested it under tango. As long as nothing major is different, then this should work fine.

01/14/08 21:08:53 changed by sean

The patch file is empty. Is this intended?

02/23/08 00:22:27 changed by kris

  • milestone set to 0.99.6.

03/23/08 07:23:12 changed by larsivi

  • milestone changed from 0.99.6 to 0.99.7.

Benjamin; could you please provide a patch with content?

05/24/08 14:51:48 changed by larsivi

  • keywords changed from coverage to coverage triage.

07/10/08 06:56:51 changed by larsivi

  • milestone changed from 0.99.7 to 0.99.8.

07/25/08 14:52:36 changed by sean

  • status changed from new to closed.
  • resolution set to wontfix.

Rejecting because the patch is empty.