Parallel execution of unittests

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu May 1 07:20:37 PDT 2014


On 2014-05-01 14:00, Johannes Pfau wrote:

> But on a quick look I don't understand how this (or DRT #775) completely
> solves the issue.
>
> Now you don't have to import the modules anymore, which is a step
> forward, but let's say I want to used this to find all SubClasses of a
> class.
>
> Now I can inspect that code in CTFE, but how do I build a list of all
> subclasses? In the most generic way (with DLLs/shared libraries) this
> can only work if code can be executed at runtime, so we'd need a way to
> emit module constructors AFAICS. These should be able to avoid the
> usual constructor dependency rules though.

RMInfo only helps with all the modules the compiler sees during a given 
compile run.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list