[Issue 14773] New: druntime unit tests are only run in release mode

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 6 02:46:09 PDT 2015


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

          Issue ID: 14773
           Summary: druntime unit tests are only run in release mode
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: issues.dlang at jmdavisProg.com

The Phobos unit tests are run in both release and non-release modes. However,
for whatever reason, the druntime unit tests are only run in release mode. Not
only does this make it so that we're not going to catch problems that only show
up in non-release mode, but stuff like range violations don't get caught in
@system code, and several unit tests currently fail if you remove the -release
flag from the build. So, those need to be fixed regardless, but we really
should make it so that druntime gets built and tested with both release and
non-release modes like Phobos does so that bugs like this are caught.

--


More information about the Digitalmars-d-bugs mailing list