Want to help DMD bugfixing? Write a simple utility.

David Nadlinger see at klickverbot.at
Sat Mar 19 17:24:04 PDT 2011


On 3/20/11 1:11 AM, Don wrote:
> Here's the task:
> Given a .d source file, strip out all of the unittest {} blocks,
> including everything inside them.
> Strip out all comments as well.
> Print out the resulting file.

I realize that you asked for a very specific utility, but in several 
instances, http://delta.tigris.org/ worked fine for me for reducing 
large test cases.

Parts of it are tailored to C/C++ though, so a port/adaption for D would 
be a nice project as well.

David


More information about the Digitalmars-d-learn mailing list