Quit running foreign unittests >_<

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 30 04:58:48 PDT 2015


On Wednesday, 29 April 2015 at 15:00:53 UTC, Dicebot wrote:
> The core of Nick proposal (and what he does in his own 
> libraries) is to not compile tests of dependnecies even when 
> those are all compiled at once in -unittest mode.

If they are compiled in unittest mode, all their unittests are 
compiled and run. What's problem?

> He uses `version(MyLibUnittest)` to disable all those 
> completely and to run all tests you need to provide full set of 
> such version flags for each dependency (transitively). This is 
> what affects me and what I don't see implemented as a default.

If the enhancement is implemented, that hack with versions won't 
be needed, all tests will be plain unittests, which will suit 
both you and Nick.


More information about the Digitalmars-d mailing list