This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] KFAIL gdb.c++/annota2.exp watch triggered on a.x
- 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>, Daniel Jacobowitz <drow at mvista dot com>
- Date: 09 Jan 2003 09:09:55 -0800
- Subject: Re: [patch/rfc] KFAIL gdb.c++/annota2.exp watch triggered on a.x
- References: <ro1ptrdlxvk.fsf@jackfruit.Stanford.EDU>
On 03 Jan 2003 13:35:59 -0800, David Carlton <carlton@math.Stanford.EDU> said:
> Here's a patch to KFAIL the test "watch triggered on a.x" in
> gdb.c++/annota2.exp, corresponding to PR breakpoints/38. The test
> fails consistently on all the configurations that Michael tests.
...
> I'll commit this on Wednesday unless somebody disagrees with how I'm
> handling when to {K,}{FAIL,PASS} or unless somebody turns up more
> KFAIL regexps.
My use of KPASS didn't meet with the most appreciative of responses,
so I've committed the following: it adds the KFAIL regexp but doesn't
change the existing PASSes to KPASSes.
David Carlton
carlton@math.stanford.edu
2003-01-03 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
Add copyright year 2003.
Index: annota2.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/annota2.exp,v
retrieving revision 1.8
diff -u -p -r1.8 annota2.exp
--- annota2.exp 20 Dec 2002 18:37:15 -0000 1.8
+++ annota2.exp 9 Jan 2003 17:04:19 -0000
@@ -1,4 +1,4 @@
-# Copyright 1999, 2000, 2001, 2002
+# Copyright 1999, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -197,6 +197,8 @@ gdb_expect {
{ pass "watch triggered on a.x" }
-re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032watchpoint 3\r\n\.*atchpoint 3: a.x\r\n\r\nOld value = 0\r\nNew value = 1\r\n\r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*$srcfile\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n$decimal\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n.*$gdb_prompt$" \
{ pass "watch triggered on a.x" }
+ -re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \
+ { kfail "gdb/38" "watch triggered on a.x" }
-re ".*$gdb_prompt$" { fail "watch triggered on a.x" }
timeout { fail "watch triggered on a.x (timeout)" }
}