www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [patch] multiple unittest failures

reply Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit

The attached patch allows more than one unittest failure before finally
bailing out.

Any commend are welcome.

Note 1:
I've tried to use the codeing style from std.module.

Note 2:
stdout/print is used instead stderr/toString (Phobos' dmain2.d legacy)

Thomas
Apr 10 2005
parent reply "Ben Hinkle" <bhinkle mathworks.com> writes:
While you're at it I wouldn't mind if the catch clause printed which module 
failed, if possible.

"Thomas Kuehne" <thomas-dloop kuehne.thisisspam.cn> wrote in message 
news:v6gpi2-du4.ln1 lnews.kuehne.cn...
 The attached patch allows more than one unittest failure before finally
 bailing out.

 Any commend are welcome.

 Note 1:
 I've tried to use the codeing style from std.module.

 Note 2:
 stdout/print is used instead stderr/toString (Phobos' dmain2.d legacy)

 Thomas
 

Apr 11 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Hinkle schrieb am Mon, 11 Apr 2005 14:00:50 -0400:
 While you're at it I wouldn't mind if the catch clause printed which module 
 failed, if possible.

That's possible for all but the last caught exception. Check the bugs newsgroup why this is currently not very usefull. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCW9MO3w+/yD4P9tIRAuhUAJ40QK4Oga41B1RefPNv7Aw3TZWpUwCgrGwP yY5k6e14Fl6/rLjSoxO7FYQ= =MD+i -----END PGP SIGNATURE-----
Apr 12 2005