www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16984] New: Make more modules runnable on dlang.org


          Issue ID: 16984
           Summary: Make more modules runnable on dlang.org
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greeenify gmail.com

With https://github.com/dlang/dlang.org/pull/1297 public unittests can be
executed on dlang.org. There is a special Makefile target that ensures that the
unittest blocks can be compiled correctly, i.e. don't miss any imports:


(the script just extracts all "ddoced" tests, puts them in a separate file and
runs it with rdmd -unittest -main)

However, as fixing the imports in all Phobos modules would have been a too
ambitious project, a hard-coded exclude list has been created.
This list can be reduced gradually by removing a module from the exclusion
list, have a look at the missing imports and making a PR to Phobos.

One the PR is accepted, the hard-coded exclusion list on dlang.org should be
updated as well:


Dec 19 2016