Dub test compiles tests for dependencies?

Sahan sahan.h.fernando.alt at gmail.com
Thu Jun 20 03:35:14 UTC 2024


On Thursday, 20 June 2024 at 03:07:09 UTC, Sahan wrote:
> Is this an intended behaviour? I am confused as to why this is 
> the case, it doesn't appear like they get run at any point.

Looked into this some more, it appears they are being run after 
all, though I am still confused as to why it is compiling them.

Looking at the source of the dependency, I can't determine what's 
causing those specific modules to have their tests compiled. The 
simplest local repro for this issue is creating a new project 
using dub init and adding mir as a dependency, beyond that point 
`dub test` always reports 8 modules that have had their unittests 
pass successfully.


More information about the Digitalmars-d mailing list