aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2004-01-30 06:24:00 +0000
committerBen Elliston <bje@gnu.org>2004-01-30 06:24:00 +0000
commit939bae0d2c577d2fe6abf4368e4f5a6611a4f71c (patch)
treeb0759984b481895f739a156e336a81300f717aca /doc
parentfb5fb301ef6d79b9cb3990d3562459bceae04c3f (diff)
downloaddejagnu-939bae0d2c577d2fe6abf4368e4f5a6611a4f71c.zip
dejagnu-939bae0d2c577d2fe6abf4368e4f5a6611a4f71c.tar.gz
dejagnu-939bae0d2c577d2fe6abf4368e4f5a6611a4f71c.tar.bz2
* Import orphaned patches from sources.redhat.com:
2002-05-02 Fernando Nasser <fnasser@redhat.com> * doc/dejagnu.texi: Document KFAIL and KPASS. 2002-02-20 Richard Henderson <rth@redhat.com> * lib/target.exp (prune_warnings): Revert early "In function" strip, as this breaks g++.dg tests. Match dangerous regexp without the "In function" header. 2002-02-09 Richard Henderson <rth@redhat.com> * lib/target.exp (prune_warnings): Strip "In function" etc early. Adjust "dangerous" regexp for glibc's tmpnam warning. 2001-09-10 Jim Blandy <jimb@redhat.com> * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script, so we get the version of the `outbyte' function that does console output in a way that GDB's rom68k target recognizes. Note that the board can now do output. 2000-04-25 Felix Lee <flee@cygnus.com> * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete misleading comments and null statements.
Diffstat (limited to 'doc')
-rw-r--r--doc/dejagnu.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi
index cd41018..1fea03a 100644
--- a/doc/dejagnu.texi
+++ b/doc/dejagnu.texi
@@ -683,6 +683,14 @@ A pleasant kind of failure: a test was known to fail, but succeeded.
This may indicate progress; inspect the test case to determine whether
you should amend it to stop expecting failure.
+@item KPASS
+@kindex KPASS
+@cindex successful test, unexpected
+@cindex unexpected success
+A pleasant kind of failure: a test was known to fail, but succeeded.
+This may indicate progress; inspect the test case to determine whether
+you should amend it to stop expecting failure.
+
@item FAIL
@kindex FAIL
@cindex failing test, unexpected
@@ -2068,6 +2076,15 @@ list of configuration target names. It is only necessary to call
@code{clear_kfail} if a test case ends without calling either
@code{pass} or @code{fail}, after calling @code{setup_kfail}.
+@item clear_kfail @var{config}
+@cindex cancelling known failure
+@cindex known failure, cancelling
+Cancel a known failure (previously declared with @code{setup_kfail})
+for a particular set of configurations. The @var{config} argument is a
+list of configuration target names. It is only necessary to call
+@code{clear_kfail} if a test case ends without calling either
+@code{pass} or @code{fail}, after calling @code{setup_kfail}.
+
@item verbose @r{[}-log@r{]} @r{[}-n@r{]} @r{[}--@r{]} @r{[}--@r{]} "@var{string}" @var{number}
@cindex @code{verbose} builtin function
Test cases can use this function to issue helpful messages depending on