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. As per your advice I wrote a SCons specific Python function to do the same as get_ut_main – and it works, well for my very restricted test cases anyway. I think my Python code only solves a part of the problem your get_ut_main solves: I think I need to extend the Python function to cover more cases. I'll do it on an as needed, only with a test case, basis though. 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. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
