Are there any default dmd optimizations

Walter Bright newshound2 at digitalmars.com
Wed Feb 27 11:23:18 PST 2013


On 2/27/2013 4:19 AM, Jacob Carlborg wrote:
> I think that is one of the problems with unit tests in D. I don't know how to
> run them.

Compile with -unittest and then run.


> * How do I run all the unit test in all of my files?

Compile all files with -unittest and then run the program.


> * How do I run a single test?
> * How do I run a subset of the tests?

Compile only the modules you want to run the unittests on with -unittest.



More information about the Digitalmars-d mailing list