[dmd-internals] test failures
Andrei Alexandrescu
andrei at erdani.com
Fri May 20 07:32:02 PDT 2011
On 5/20/11 2:16 AM, Don Clugston wrote:
> Apart from the size, a particular problem with std.datetime is that it
> has unittests _inside_ struct declarations.
> This makes the code practically unreadable, especially since those
> unittests are enormous, and it makes bisection a very painful, manual
> process. 30K lines with only a few blocks of unittests wouldn't be a
> problem.
Just a thought - how about a tool (that would go in the same dir as dmd
and rdmd) called strip_unittest? It would read a D program and output to
stdout the same program without unittests.
All we need is a D tokenizer (which we need anyway) and a small driver.
Andrei
More information about the dmd-internals
mailing list