Unittest assertion failure messages in OSX

Jacob Carlborg doob at me.com
Sat Oct 26 04:14:58 PDT 2013


On 2013-10-26 09:12, Kapps wrote:
> With git master using OSX Mavericks I'm noticing that I'm no longer
> seeing any assertion failure messages from inside unittest blocks.
>
> For example with:
> import std.stdio;
>
> unittest {
>      writeln("Reached unittest.");
>      assert(0);
>      writeln("After failed assertion.");
> }
>
> Output:
> rdmd -main -unittest test2.d
> Reached unittest.
>
>
> Replacing unittest with void main(), the assertion message prints out
> properly. Is this something that's just odd with my setup, or is this
> happening to others running OSX / git master?

I can confirm that on Mac OS X Mountain Lion as well.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list