www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16571] New: Unittests should not list /tmp/ recursively

https://issues.dlang.org/show_bug.cgi?id=16571

          Issue ID: 16571
           Summary: Unittests should not list /tmp/ recursively
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

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.

--
Oct 01 2016