Re: How to trigger unit tests in all modules in a linked-in library?

2011-09-03 Thread Jacob Carlborg
On 2011-09-03 17:45, Alex Rønne Petersen wrote: Hi, Imagine the following setup: foo1.d: Compiled into a library. Has a couple of unit tests. foo2.d: Compiled into the same library as foo1.d. Also has tests. main.d: Dummy main function. Compiled into an executable. Links to foo.a/.lib (produced

How to trigger unit tests in all modules in a linked-in library?

2011-09-03 Thread Alex Rønne Petersen
Hi, Imagine the following setup: foo1.d: Compiled into a library. Has a couple of unit tests. foo2.d: Compiled into the same library as foo1.d. Also has tests. main.d: Dummy main function. Compiled into an executable. Links to foo.a/.lib (produced from foo1/2.d). Assume that -unittest is pass