This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] kfail gdb.c++/annota2.exp annotate-quit
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb-patches at sources dot redhat dot com
- Cc: Michael Elizabeth Chastain <mec at shout dot net>
- Date: 18 Dec 2002 14:45:51 -0800
- Subject: [patch] kfail gdb.c++/annota2.exp annotate-quit
This patch KFAIL's the test 'annotate-quit' in gdb.c++/annota2.exp,
corresponding to PR c++/544. If nobody objects, I'll commit it this
Friday; since it's the first KFAIL in the test suite, though, I wanted
to give people a couple of days to object and/or update their copies
of dejagnu.
Following a suggestion of Michael Chastain, I'm KFAILing only the
explicit regexp that I'm seeing as a failure. Note that, in this
file, gdb_prompt is set to an unusual value, and that unusual value is
in fact the exact output that I'm seeing.
David Carlton
carlton@math.stanford.edu
2002-12-18 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL annotate-quit.
Index: annota2.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/annota2.exp,v
retrieving revision 1.6
diff -u -p -r1.6 annota2.exp
--- annota2.exp 13 May 2002 19:18:52 -0000 1.6
+++ annota2.exp 18 Dec 2002 22:17:31 -0000
@@ -214,6 +214,7 @@ send_gdb "\003"
gdb_expect {
-re "\r\n\032\032error-begin\r\nQuit\r\n\r\n\032\032quit\r\n$gdb_prompt$" \
{ pass "annotate-quit" }
+ -re "$gdb_prompt$" { kfail "c++/544" "annotate-quit" }
-re ".*$gdb_prompt$" { fail "annotate-quit" }
timeout { fail "annotate-quit (timeout)" }
}