[phobos] Please no commit without unittest

Andrei Alexandrescu andrei at erdani.com
Sat Aug 14 10:59:43 PDT 2010


I just updated:

std/range.d(2007): Error: template std.range.take(R) if 
(isInputRange!(R) && !hasSlicing!(R)) does not match any function 
template declaration
std/range.d(2007): Error: template std.range.take(R) if 
(isInputRange!(R) && !hasSlicing!(R)) cannot deduce template function 
from argument types !()(Cycle!(int[]),int)

To unittest on a Unix-like OS, just change dir to the phobos root and issue:

make unittest

It will run unittests in both debug and release mode. To run them faster:

make unittest -j 4


Thanks,

Andrei


More information about the phobos mailing list