dub test

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 23 13:06:07 PDT 2016


On 2016-08-23 21:26, Andrei Alexandrescu wrote:
> On 08/23/2016 03:14 PM, Jacob Carlborg wrote:
>> On 2016-08-23 19:55, Andrei Alexandrescu wrote:
>>> Why does "dub test" rebuild the library? It should just re-run
>>> unittests. -- Andrei
>>
>> Rebuilds it with unit tests enabled? You can the "--verbose" and/or the
>> "--vverbose" to see exactly the commands that Dub are running.
>
> It does this with every run per --verbose (it should not rebuild the
> test program):

You mean this line?

dmd -c -of.dub/build/__test__library__ ...

That's builds a generated module which imports all modules in the 
project. It looks like this is a temporary file that is removed after 
each run.

As Walter would say, if it's not in bugzilla it will never be fixed ;)

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list