Can we get unitests to not run with program start ?

pineapple via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 26 02:22:23 PDT 2016


On Wednesday, 26 October 2016 at 08:15:44 UTC, Basile B. wrote:
> What would be possible is a "-fdmain" switch (force dummy 
> main). Its role would be: if a functionDeclaration named "main" 
> is present then this normal "main" is not used (technically 
> erased from the AST or something like that). Then acts like 
> "-main".

Just using `-main` has worked well enough for me


More information about the Digitalmars-d mailing list