Anyone has time for a unittesting issue?

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 1 18:30:15 PDT 2016


On Sunday, 2 October 2016 at 01:23:18 UTC, Andrei Alexandrescu 
wrote:
> There, we list the full content of /tmp, recursively. That's 
> not quite the right thing to do. Not only the run time is 
> arbitrarily slow, but the test may file if certain subdirs are 
> inaccessible. Vladimir, maybe I can convince you to find a 
> better solution for that, too? :o)
>
> https://issues.dlang.org/show_bug.cgi?id=16571

The unittest in question is ensuring that compilation succeeds:

https://github.com/dlang/phobos/pull/3821

Solution: move the dirEntries call inside the __traits(compiles) 
check.

I'm doing server maintenance tonight so no PR for the moment :)


More information about the Digitalmars-d mailing list