digitalmars.D - Unit tests not run when linking with Tango
- Jacob Carlborg (8/8) Dec 12 2012 I'm trying to compile and run the unit tests of an application which
- SiegeLord (4/10) Dec 12 2012 Are you running the Tango unittests when you're doing that (i.e.
- SiegeLord (8/19) Dec 12 2012 FWIW I just tested this and aside from a few problematic modules
- Jacob Carlborg (5/11) Dec 12 2012 I found what the problem is and answered to the issue I reported on gith...
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
Dec 12 2012
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 ?)
Dec 12 2012
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: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'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 ?)
Dec 12 2012
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
Dec 12 2012