[Issue 3461] New: Unittests and assert don't work at all

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 31 14:43:32 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3461

           Summary: Unittests and assert don't work at all
           Product: D
           Version: 1.050
          Platform: x86_64
        OS/Version: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: uewyrwie at sogetthis.com


--- Comment #0 from uewyrwie at sogetthis.com 2009-10-31 14:43:31 PDT ---
Executables compiled with dmd -unittest don't run unit tests at all.

assert() is checked at compile time (i.e. assert(0) triggers warnings about
unreachable code), but has no effect at run time (tried compiling with -debug).

Both 1.050 and 1.048 fail on Snow Leopard (32-bit kernel mode). 2.035 with same
code, same switches runs the tests.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list