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 <[email protected]> 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 <[email protected]> >> 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 >>> [email protected] >>> http://lists.puremagic.com/mailman/listinfo/phobos >>> >> _______________________________________________ >> phobos mailing list >> [email protected] >> http://lists.puremagic.com/mailman/listinfo/phobos >> >> >> > _______________________________________________ > phobos mailing list > [email protected] > http://lists.puremagic.com/mailman/listinfo/phobos _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
