D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5098 - -unittest does not turn on asserts nor sets unittest version in D1
Summary: -unittest does not turn on asserts nor sets unittest version in D1
Status: RESOLVED WONTFIX
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D1 (retired)
Hardware: Other All
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 19:04 UTC by strtr
Modified: 2015-12-16 02:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description strtr 2010-10-21 19:04:09 UTC
http://www.digitalmars.com/d/1.0/dmd-windows.html#switches
 -unittest
  compile in unittest code, turns on asserts, and sets the unittest version
identifier

http://www.digitalmars.com/d/1.0/unittest.html
 The version identifier unittest is predefined if the compilation is done with
unit tests enabled.
Comment 1 Jack Stouffer 2015-12-16 02:08:04 UTC
D1 is no longer maintained, and this would be a DMD issue anyway.