[phobos] Silent failure of std.container unittests
Sean Kelly
sean at invisibleduck.org
Tue Jul 13 17:11:58 PDT 2010
It doesn't work because assert doesn't throw no consider that token behavior.
Sent from my iPhone
On Jul 13, 2010, at 12:13 PM, Walter Bright <walter at digitalmars.com> wrote:
>
>
> Sean Kelly wrote:
>> If a unittest throws an exception the test is marked as failed and you'll see an errorlevel 1 after the tests complete.
>
> I saw the code that did that, but unfortunately, it does not work. I put the old way back in.
>
>> I didn't report the exception because unittest output is often parsed to accumulate results, but this could easily be changed.
>> Sent from my iPhone
>>
>> On Jul 12, 2010, at 6:55 AM, Lars Tandle Kyllingstad <lars at kyllingen.net> wrote:
>>
>>
>>> When running 'make unittest' on the latest revision of Phobos, it just
>>> fails on/after std.container, without any sensible error message:
>>>
>>> Testing generated/posix/debug/unittest/std/container
>>> make[1]: *** [generated/posix/debug/unittest/std/container] Error 1
>>> make: *** [unittest] Error 2
>>>
>>> Anyone else seeing this?
>>>
>>> -Lars
>>>
>>> _______________________________________________
>>> phobos mailing list
>>> phobos at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>>
>>
>>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
More information about the phobos
mailing list