From: Michael Elizabeth Chastain <mec@shout.net>
To: drow@mvista.com, gdb-patches@sources.redhat.com
Subject: Re: RFC: gdb.c++/main-falloff.exp (a new KFAIL)
Date: Mon, 30 Dec 2002 08:09:00 -0000 [thread overview]
Message-ID: <200212301604.gBUG4s303613@duracef.shout.net> (raw)
Hi Daniel!
> First of all, KFAIL is (in my opinion) for things that we have analyzed
> and established to be known bugs _in the tool under test_. That's what
> differentiates them from XFAILs; I thought that was the consensus.
You are right. I am mixing two issues here. I agree with you,
but my code doesn't. :-(
I would like to file a gcc bug on this and then it would be an xfail.
It's only a kfail because I am so conservative about marking bugs
as "gdb bugs" until proven otherwise. In the past we have been
lax about blaming things as xfail prematurely.
> I.E. the "return 0" is outside of the lexical block for main. That's
> not necessarily wrong. We have to decide if it is wrong - whether the
> test case should be updated or a GCC bug report filed. My inclination
> is that it's a GCC bug.
Me too. How about if I file it as such, and then make this an XFAIL?
> GDB is behaving exactly as expected given its inputs; ergo, this is not
> a KFAIL at all.
POW. Ya got me.
> What do you think of:
> gdb_test_multiple "info locals" \
> {pass "(i|j|k) = (101|102|103)\r\n(i|j|k) = (101|102|103)\r\n(i|j|k) = (101|102|103)"
> kfail "gdb/900" "No locals."} \
> "testing locals"
I am open to new syntax. I do prefer gdb_test to send_gdb/gdb_expect.
I never thought of extending the gdb_test idea but it's a good idea.
So if you're cool with me filing a gcc bug report, I can s/kfail/xfail/,
close PR gdb/900 as "not a gdb bug -- see PR gcc/9NNN", and we can
wrangle about gdb_test_multiple.
I will definitely suspend committing this for a while.
Michael C
next reply other threads:[~2002-12-30 16:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-30 8:09 Michael Elizabeth Chastain [this message]
2002-12-30 11:41 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2003-01-03 22:03 Michael Elizabeth Chastain
2003-01-03 21:45 Michael Elizabeth Chastain
2003-01-03 21:49 ` Daniel Jacobowitz
2003-01-03 21:17 Michael Elizabeth Chastain
2003-01-03 21:24 ` David Carlton
2003-01-03 21:37 ` Daniel Jacobowitz
2002-12-30 2:36 Michael Elizabeth Chastain
2002-12-30 8:05 ` Daniel Jacobowitz
2003-01-03 20:53 ` David Carlton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200212301604.gBUG4s303613@duracef.shout.net \
--to=mec@shout.net \
--cc=drow@mvista.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox