Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 12, 2012 Unit tests not run when linking with Tango | ||||
---|---|---|---|---|
| ||||
I'm trying to compile and run the unit tests of an application which links with Tango (D2). The problem is it just won't run the unit tests blocks. I tried with a simple Hello World application, linking with Tango, and it has the same problems.
Have anyone seen this problem before? Have I accidentally compiled Tango with some flag(s) causing this behavior?
--
/Jacob Carlborg
|
December 13, 2012 Re: Unit tests not run when linking with Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Wednesday, 12 December 2012 at 08:15:29 UTC, Jacob Carlborg wrote:
> I'm trying to compile and run the unit tests of an application which links with Tango (D2). The problem is it just won't run the unit tests blocks. I tried with a simple Hello World application, linking with Tango, and it has the same problems.
>
> Have anyone seen this problem before? Have I accidentally compiled Tango with some flag(s) causing this behavior?
Are you running the Tango unittests when you're doing that (i.e. are you compiling with the version=UnitTest ?)
|
December 13, 2012 Re: Unit tests not run when linking with Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to SiegeLord | On Thursday, 13 December 2012 at 05:13:23 UTC, SiegeLord wrote:
> On Wednesday, 12 December 2012 at 08:15:29 UTC, Jacob Carlborg wrote:
>> I'm trying to compile and run the unit tests of an application which links with Tango (D2). The problem is it just won't run the unit tests blocks. I tried with a simple Hello World application, linking with Tango, and it has the same problems.
>>
>> Have anyone seen this problem before? Have I accidentally compiled Tango with some flag(s) causing this behavior?
>
> Are you running the Tango unittests when you're doing that (i.e. are you compiling with the version=UnitTest ?)
FWIW I just tested this and aside from a few problematic modules (involving stack traces) I could import every single Tango module and still have the unittest run in my tiny test application (tested on 64 bit Linux with dmd 2.060 and LDC2 trunk). I'm not ruling out some bizzare module order issue, so if you could point me to some code I can try to reproduce this with it'd be very helpful.
|
December 13, 2012 Re: Unit tests not run when linking with Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to SiegeLord | On 2012-12-13 06:30, SiegeLord wrote: > FWIW I just tested this and aside from a few problematic modules > (involving stack traces) I could import every single Tango module and > still have the unittest run in my tiny test application (tested on 64 > bit Linux with dmd 2.060 and LDC2 trunk). I'm not ruling out some > bizzare module order issue, so if you could point me to some code I can > try to reproduce this with it'd be very helpful. I found what the problem is and answered to the issue I reported on github: https://github.com/SiegeLord/Tango-D2/issues/47#issuecomment-11325480 -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation