Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [patch] kfail gdb.c++/annota2.exp annotate-quit
@ 2002-12-19  7:42 Michael Elizabeth Chastain
  2002-12-19 11:01 ` David Carlton
  2002-12-19 13:48 ` Daniel Jacobowitz
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Elizabeth Chastain @ 2002-12-19  7:42 UTC (permalink / raw)
  To: carlton, gdb-patches

My testbed gives me 34 KFAIL's on 34 configurations, just fine.
This is native i686-pc-linux-gnu, gcc v2 and v3, dwarf-2 and stabs+.

I use stock FSF dejagnu 1.4.3.  I also built dejagnu from the
sourcware cvs "dejagnu" module and did a test run with that.
That works fine too.

I have appended a gdb.sum file for anyone who is curious.
The KFAIL line looks like this:

  KFAIL: gdb.c++/annota2.exp: annotate-quit (PRMS: c++/544)

We can't do anything about the "PRMS:" part, that comes from dejagnu.

I have an objection to the name "c++/544".  It is way too easy for
this name to get quoted out of context (the context being that it is
a gdb bug in the gdb database).  I think this will cause confusion.
I would like to see "gdb/544" here.

Sure, right *now* while we are discussing the issue, everyone knows
that "c++/544" means a gdb bug in the gdb PR database.  Wait six weeks
and then quote some people a gdb.sum report that says "c++/482" in it
and see if anyone jumps to the incorrect conclusion that c++/482 means
a bug in the C++ compiler.

Michael C

===

Test Run By mec on Thu Dec 19 00:20:19 2002
Native configuration is i686-pc-linux-gnu

		=== gdb tests ===

Schedule of variations:
    unix/gdb:debug_flags=-gdwarf-2

Running target unix/gdb:debug_flags=-gdwarf-2
Running /berman/fsf/_today_/source/gdb/HEAD/src/gdb/testsuite/gdb.c++/annota2.exp ...
PASS: gdb.c++/annota2.exp: breakpoint main
PASS: gdb.c++/annota2.exp: annotation set at level 2
PASS: gdb.c++/annota2.exp: run until main breakpoint
PASS: gdb.c++/annota2.exp: print class
PASS: gdb.c++/annota2.exp: continue until exit
PASS: gdb.c++/annota2.exp: delete bps
PASS: gdb.c++/annota2.exp: breakpoint at main
PASS: gdb.c++/annota2.exp: run until main breakpoint
PASS: gdb.c++/annota2.exp: set watch on a.x
FAIL: gdb.c++/annota2.exp: watch triggered on a.x
KFAIL: gdb.c++/annota2.exp: annotate-quit (PRMS: c++/544)

		=== gdb Summary ===

# of expected passes		9
# of unexpected failures	1
# of known failures		1
/berman/fsf/_today_/berman/native/install/gdb/HEAD/bin/gdb version  2002-12-12-cvs -nx


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [patch] kfail gdb.c++/annota2.exp annotate-quit
@ 2002-12-18 20:57 David Carlton
  0 siblings, 0 replies; 7+ messages in thread
From: David Carlton @ 2002-12-18 20:57 UTC (permalink / raw)
  To: gdb-patches; +Cc: Michael Elizabeth Chastain

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)" }
 }


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-12-20 18:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-19  7:42 [patch] kfail gdb.c++/annota2.exp annotate-quit Michael Elizabeth Chastain
2002-12-19 11:01 ` David Carlton
2002-12-19 13:48 ` Daniel Jacobowitz
2002-12-20  9:12   ` Andrew Cagney
2002-12-20 10:09     ` Daniel Jacobowitz
2002-12-20 10:50       ` David Carlton
  -- strict thread matches above, loose matches on Subject: below --
2002-12-18 20:57 David Carlton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox