Running unit tests from DUB single file packages
drug
drug2004 at bk.ru
Mon Dec 21 11:31:49 UTC 2020
On 12/20/20 9:31 PM, jmh530 wrote:
> On Wednesday, 2 December 2020 at 12:51:11 UTC, drug wrote:
>> [snip]
>>>
>>> Thanks! Let's see if it gets merged or if a slightly more involved
>>> solution is needed.
>>>
>>
>> Remake it - https://github.com/dlang/dub/pull/2052
>> This has more chances to be merged
>
> Looks like this got merged and will be part of the newest version, which
> is great news. Have you checked that it works with dependencies?
Unfortunately I'm very busy. But I check it again and it turns out that
the fix does not resolve the problem completely. This PR just remove the
single file from testing so currently dub does not run unit tests in the
single file package at all. The first variant
(https://github.com/dlang/dub/pull/2050) fixes the issue indeed. I need
to reevaluate these PRs and close the issue. I'll do it later.
More information about the Digitalmars-d-learn
mailing list