Stuck with DMD, and Unit-Threaded
Atila Neves via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Apr 19 11:03:35 PDT 2017
On Tuesday, 18 April 2017 at 07:07:16 UTC, Russel Winder wrote:
> On Mon, 2017-04-17 at 22:56 +0000, Atila Neves via
> Digitalmars-d-learn wrote:
>>
> […]
>> https://github.com/russel/ApproxGC/pull/2
>>
>> Unfortunately the auto generated integration test main file
>> doesn't quite work (feel free to file a bug on unit-threaded)
>> so in that PR I disabled auto-generating it and force added my
>> edited version.
>>
>> What I did there in dub.sdl is my current go-to solution for
>> also running integration tests with unit-threaded.
>>
>
> Thanks for that, much appreciated. I am hesitant to commit the
> pull request for now in case get_ut_main gets fixed fairly
> quickly. For the moment I am progressing with the SCons build
> since I got it working.
I wouldn't hold my breath - the fix is annoying and non-trivial.
Basically I special cased "source" since it's the default for dub
packages but "test-source" gums up the works and I'd have to look
at it properly.
> The real joy is that I have Unit-Threaded working. It's
> extensions of the unittest D language feature make testing D
> codes far more fun than the basic feature. Thanks for putting
> in the effort.
I'm happy the work is appreciated :)
Atila
More information about the Digitalmars-d-learn
mailing list