Can we get unitests to not run with program start ?

Timothee Cour via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 26 09:12:26 PDT 2016


>> It should just be implied by -unittest!

+1


On Wed, Oct 26, 2016 at 7:49 AM, Nick Sabalausky via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On 10/26/2016 09:25 AM, Adam D. Ruppe wrote:
>
>> On Wednesday, 26 October 2016 at 08:15:44 UTC, Basile B. wrote:
>>
>>> What would be possible is a "-fdmain" switch (force dummy main).
>>>
>>
>> It should just be implied by -unittest!
>>
>> The only cast I'd be worried about is an explicit version(unittest)
>> main() {}... then maybe the user wanted something special. And even
>> then, meh, 99% of those cases are just fixing the broken default anyway.
>>
>> Otherwise, let's make the default sane.
>>
>
> +1
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20161026/ee590f58/attachment.html>


More information about the Digitalmars-d mailing list