Bug 14773 – druntime unit tests are only run in release mode

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-07-06T09:46:00Z
Last change time
2015-07-09T03:47:22Z
Assigned to
nobody
Creator
issues.dlang
Depends on
14774, 14775

Comments

Comment #0 by issues.dlang — 2015-07-06T09:46:09Z
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.
Comment #1 by issues.dlang — 2015-07-09T03:47:22Z
*** This issue has been marked as a duplicate of issue 11414 ***