www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18650] New: DMD shouldn't include all unittests with -deps


          Issue ID: 18650
           Summary: DMD shouldn't include all unittests with -deps
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

See https://github.com/dlang/phobos/pull/6159#issuecomment-364849456 for a
longer discussion.

Short summary. With -deps ALL unittest are included which is pretty bad because

- it has severe impacts on the build-times. A quote: "I like regex! (Too bad
importing std.regex increases compiletime by 12 seconds in release builds...)"

- it limits what Phobos can do with its build scripts (we can't introduce
StdUnittest or similar versions)

- it will cause problems with -dip1000 as all DIP1000 unittests need to be
versioned out until then 

Related discussion on the NG:
https://forum.dlang.org/post/mailman.1033.1521062556.3374.digitalmars-d puremagic.com

Mar 23 2018