Mercurial > hg > octave-max
changeset 7291:de593fd63ecf
[project @ 2007-12-11 18:10:19 by jwe]
author | jwe |
---|---|
date | Tue, 11 Dec 2007 18:10:19 +0000 |
parents | 7c0a18b10c8e |
children | 5e90111a28b3 |
files | test/fntests.m |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/fntests.m +++ b/test/fntests.m @@ -195,8 +195,15 @@ nfail = dn - dp; printf (" FAIL %6d\n", nfail); if (dxf > 0) - printf ("\nThere were %d expected failures (see fntests.log for details).\n", - dxf); + if (dxf > 1) + t1 = "were" + t2 = "failures" + else + t1 = "was"; + t2 = "failure"; + endif + printf ("\nThere %s %d expected %s (see fntests.log for details).\n", + t1, dxf, t2); printf ("\nExpected failures are known bugs. Please help improve\n"); printf ("Octave by contributing fixes for them.\n"); endif