Parallel execution of unittests

Johannes Pfau via Digitalmars-d digitalmars-d at puremagic.com
Thu May 1 13:39:17 PDT 2014


Am Thu, 01 May 2014 13:00:44 -0700
schrieb Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org>:

> >
> > Nothing. This just changes the way druntime internally handles the
> > unit tests, but nothing changes for the user:
> 
> Great, thanks. Just making sure there's no unstated assumptions 
> somewhere. Help with reviewing from the compiler and druntime folks 
> would be appreciated! -- Andrei
> 
> 

I added an parallel test runner example:
http://dpaste.dzfl.pl/69baabd83e68

Output:
--------
Test 2, Thread 7FE6F0EA4D00
Test 4, Thread 7FE6F0EA4E00
Test 7, Thread 7FE6F0EA4E00
Test 8, Thread 7FE6F0EA4E00
Test 9, Thread 7FE6F0EA4E00
Test 10, Thread 7FE6F0EA4E00
Test 1, Thread 7FE6F0EA4F00
Test 5, Thread 7FE6F0EA4B00
Test 3, Thread 7FE6F0EA4C00
Test 6, Thread 7FE6F0EA4D00


More information about the Digitalmars-d mailing list