www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20500] New: running examples on the home page only displays

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

          Issue ID: 20500
           Summary: running examples on the home page only displays '1
                    unittests passed'
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: r.sagitario gmx.de

Running examples at dlang.org that use writeln or similar only display "1
unittests passed".

This is probably caused by these examples being compiled with -unittest which
adds a dubious unittest from std.format. When built with dmd 2.090 main isn't
executed anymore if unittests are run, though.

--
Jan 12 2020