dub test

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 23 13:26:12 PDT 2016


On 08/23/2016 04:06 PM, Jacob Carlborg wrote:
> 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 ;)

https://issues.dlang.org/show_bug.cgi?id=16422 -- Andrei



More information about the Digitalmars-d mailing list