[phobos] Silent failure of std.container unittests

Walter Bright walter at digitalmars.com
Tue Jul 13 12:13:06 PDT 2010



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
>
>
>   


More information about the phobos mailing list