Anyone has time for a unittesting issue?
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Sat Oct 1 18:23:18 PDT 2016
On 10/01/2016 06:08 PM, Vladimir Panteleev wrote:
> On Saturday, 1 October 2016 at 21:25:56 UTC, Andrei Alexandrescu wrote:
>> Interesting, thanks. Seems like the most robust thing to do is to not
>> use /tmp/ after all.
>
> That will cause performance regressions on systems that mount /tmp in RAM.
Subtle point, thanks.
On the same topic, I think I found where the intermittent test failures
are: https://github.com/dlang/phobos/blob/master/std/file.d#L3312
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
Thanks,
Andrei
More information about the Digitalmars-d
mailing list