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: [email protected]
Reporter: [email protected]
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.
--