From 939bae0d2c577d2fe6abf4368e4f5a6611a4f71c Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 30 Jan 2004 06:24:00 +0000 Subject: * Import orphaned patches from sources.redhat.com: 2002-05-02 Fernando Nasser * doc/dejagnu.texi: Document KFAIL and KPASS. 2002-02-20 Richard Henderson * 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 * lib/target.exp (prune_warnings): Strip "In function" etc early. Adjust "dangerous" regexp for glibc's tmpnam warning. 2001-09-10 Jim Blandy * 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 * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete misleading comments and null statements. --- doc/dejagnu.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc') 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 -- cgit v1.1