changeset 6731:aff0c76321aa

[project @ 2007-06-15 15:53:18 by jwe]
author jwe
date Fri, 15 Jun 2007 15:53:18 +0000
parents 230f9c49857e
children 4ba39e63b005
files doc/ChangeLog doc/interpreter/testfun.txi test/ChangeLog test/fntests.m
diffstat 4 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Fri Jun 15 04:22:13 2007 +0000
+++ b/doc/ChangeLog	Fri Jun 15 15:53:18 2007 +0000
@@ -1,3 +1,7 @@
+2007-06-15  Paul Kienzle  <pkienzle@users.sf.net>
+
+	* interpreter/testfun.txi: Provide a clue to using xtest for assert.
+
 2007-06-14  Paul Kienzle  <pkienzle@users.sf.net>
 
 	* interpreter/testfun.txi: Document xtest block
--- a/doc/interpreter/testfun.txi	Fri Jun 15 04:22:13 2007 +0000
+++ b/doc/interpreter/testfun.txi	Fri Jun 15 15:53:18 2007 +0000
@@ -116,7 +116,8 @@
 failures, mark the block with @code{xtest} rather than @code{test}:
 
 @example
-   %!xtest error ("This test is known to fail.")
+   %!xtest assert (1==0)
+   %!xtest fail ('success=1','error'))
 @end example
 
 Another use of @code{xtest} is for statistical tests which should
--- a/test/ChangeLog	Fri Jun 15 04:22:13 2007 +0000
+++ b/test/ChangeLog	Fri Jun 15 15:53:18 2007 +0000
@@ -1,6 +1,7 @@
 2007-06-15  John W. Eaton  <jwe@octave.org>
 
 	* fntests.m: Also report expected failures in summary.
+	Improved wording from Thomas Weber <thomas.weber.mail@gmail.com>.
 
 2007-06-06  John W. Eaton  <jwe@octave.org>
 
--- a/test/fntests.m	Fri Jun 15 04:22:13 2007 +0000
+++ b/test/fntests.m	Fri Jun 15 15:53:18 2007 +0000
@@ -174,6 +174,8 @@
   if (dxf > 0)
     printf ("\nThere were %d expected failures (see fntests.log for details).\n",
 	    dxf);
+    printf ("\nExpected failures are known bugs. Please help improve\n");
+    printf ("Octave by contributing fixes for them.\n");
   endif
   n_files_with_no_tests = length (files_with_no_tests);
   n_files = n_files_with_no_tests + length (files_with_tests);