On Mon, 2017-03-20 at 00:58 -0700, Jonathan M Davis via Digitalmars-d-
learn wrote:
> 
[…]
> I haven't spent the time to dig in and report it properly, but based
> on some
> of what I saw recently on a project I have, the module with main in
> it
> didn't have its tests run, as if dub's didn't compile it when
> compiling the
> unit tests. The tests in the other modules were definitely run
> though. So, I
> think that dub probably does have a bug with regards to how it
> handles the
> module with main in it.

Actually it seems worse than that. Even with "dub -b unittest" it
appears that Dub  compiles main.d without the -unittest flag to ldc2
and so the normal application runs.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to