[Issue 20500] New: running examples on the home page only displays '1 unittests passed'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 12 08:39:05 UTC 2020


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 at puremagic.com
          Reporter: r.sagitario at 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.

--


More information about the Digitalmars-d-bugs mailing list