Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp]
@ 2002-04-05 11:09 Michael Elizabeth Chastain
  2002-04-05 12:07 ` Fernando Nasser
  2002-04-07 16:30 ` Rob Savoye
  0 siblings, 2 replies; 18+ messages in thread
From: Michael Elizabeth Chastain @ 2002-04-05 11:09 UTC (permalink / raw)
  To: fnasser; +Cc: ac131313, drow, gdb-patches, rob

Actually I prefer the pair "kpass/kfail" to "xpass/kfail" and "xpass/xfail"!
"xpass/kfail" looks weird and lets in some ambiguity.  Can you implement it
as "kpass/kfail"?

fna> I can change things to accept the second form like setup_xfail does
fna> and just make sure that one with no '-' in it was found (the bug id)
fna> and error out if none was found.  Just let me know if you prefer
fna> this instead of the positional first argument (I am now having
fna> second thoughts about that).

I don't have a strong preference.  (It sounds like you don't either).

Michael C


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp]
@ 2002-04-08  8:59 Michael Elizabeth Chastain
  2002-04-08  9:06 ` Fernando Nasser
  0 siblings, 1 reply; 18+ messages in thread
From: Michael Elizabeth Chastain @ 2002-04-08  8:59 UTC (permalink / raw)
  To: fnasser, rob; +Cc: ac131313, drow, gdb-patches

I'm running dejagnu with the kfail patch all the time now, just for
the experience.  I put in some kfail's in gdb.c++/cplusfuncs.exp
but I can't commit them.

Another feature request ...

lib/framework.exp has a "proc xfail" which directly generates an xfail,
instead of calling "setup_xfail ... ; fail ... ".  There is also a
"proc xpass".

gdb uses "proc xfail".  So, could you add "proc kfail" and "proc kpass"?

Michael C


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp]
@ 2002-04-07 17:31 Michael Elizabeth Chastain
  2002-04-07 17:38 ` Rob Savoye
  0 siblings, 1 reply; 18+ messages in thread
From: Michael Elizabeth Chastain @ 2002-04-07 17:31 UTC (permalink / raw)
  To: rob; +Cc: ac131313, drow, fnasser, gdb-patches

Surfety-surf-surf ...  I found something from Matt Bemis.  Is this it?

  http://mail.gnu.org/pipermail/dejagnu/2002-March/000195.html

This has two parts.  First, every PASS, FAIL, XPASS, XFAIL, and so on,
gets an XML record.  Second, there is a summary section.  So it's a
pretty straightforward encoding of the foo.sum file into XML.

For me, this is incomplete, because it omits the ERROR and WARNING lines.
I don't how what the experience is for other tools, but I get several
ERRORs and WARNINGs almost every week when I test gdb.  If they get left
out of gdb.xml then I will keep parsing gdb.sum.

I would really like ERROR and WARNING to be treated the same as other
test results, with the script name printed and everything.

Michael C


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp]
@ 2002-04-07 16:53 Michael Elizabeth Chastain
  2002-04-07 17:02 ` Rob Savoye
  0 siblings, 1 reply; 18+ messages in thread
From: Michael Elizabeth Chastain @ 2002-04-07 16:53 UTC (permalink / raw)
  To: rob; +Cc: ac131313, drow, fnasser, gdb-patches

Rob Savoye writes:
> I'm not sure if this will help in the bug tracking, but somebody just
> added an option to make DejaGnu spit out all the testing output in XML.
> That way the results can be sucked into a database for analysis.

That is interesting.  Is the DTD available somewhere?

Michael C


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp]
@ 2002-04-05 11:14 Michael Elizabeth Chastain
  2002-04-07 16:35 ` Rob Savoye
  0 siblings, 1 reply; 18+ messages in thread
From: Michael Elizabeth Chastain @ 2002-04-05 11:14 UTC (permalink / raw)
  To: drow; +Cc: ac131313, fnasser, gdb-patches, rob

Daniel Jacobowitz writes:
> Don't use gnatsweb for this sort of thing at all.  If you look in the
> this.  /usr/bin/edit-pr and /usr/bin/query-pr, in particular.

Thanks.  I don't even know if the underlying database is web-accessible
for query-pr, though.  And I don't want to do research right now, because
this isn't on the 5.2 path.

> Don't get too hooked on these though.  I'd much rather see us move to
> Bugzilla, since it should be available on sources.redhat.com in a
> couple of weeks.

I figure I will have to have a modular "take this bug id and dereference it"
function anyways.

My weekly reports already have clickable bug links in them, but I won't
have to make them by hand.  On the other hand, several people will have
to crawl through the existing attention lines and create bug reports for
lots of things.

Michael C


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp]
@ 2002-04-05  9:53 Michael Elizabeth Chastain
  2002-04-05 10:22 ` Daniel Jacobowitz
  2002-04-05 10:23 ` Fernando Nasser
  0 siblings, 2 replies; 18+ messages in thread
From: Michael Elizabeth Chastain @ 2002-04-05  9:53 UTC (permalink / raw)
  To: fnasser; +Cc: ac131313, drow, gdb-patches, rob

Fernando Nasser writes:

fna> KFAIL: could not run to marker1 (PRMS gdb/999)
fna> Would that make the scripts happy?

Err, I'm not sure if you mean the dejagnu scripts, or my scripts.
My scripts are happy with this format.

A lot of tests use "(...)" for various things, so the "PRMS"
and "gdb/NNN" bits need to be mandatory in order to pick out this
information from the noise.

fna> setup_kfail "gdb/999" *-*-*

Fine with me.  setup_kfail *-*-* "gdb/999" is fine with me as well.

fna> 4) Note that, when a test that was expected to fail due to a known
fna> bug suddenly starts to pass, it becomes a KPASS (as XFAILs do).

Okay, I added a KPASS column to my tables.

fna> I will do it in Perl (I still don't know how to programmatically access
fna> the Gnats database though).  But I have very little spare time, so I
fna> will not mind if someone that can do it sooner volunteers to do this.

You can access the Gnats database through a URL:

  http://sources.redhat.com/cgi-bin/gnatsweb.pl?database=gdb&cmd=view&pr=460

For programmatic access, there may already be a more suitable "cmd" than
"cmd=view", or someone may need to update gnatsweb.pl.

I volunteer to write Perl analysis scripts.  My test bed is almost all Perl,
and I am planning to release it.

Michael C


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: [RFA/mi-testsuite] XFAIL mi*-console.exp
@ 2002-04-05  7:23 Michael Elizabeth Chastain
  2002-04-05  7:58 ` RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp] Fernando Nasser
  0 siblings, 1 reply; 18+ messages in thread
From: Michael Elizabeth Chastain @ 2002-04-05  7:23 UTC (permalink / raw)
  To: ac131313, fnasser; +Cc: drow, gdb-patches

What's the status of KFAIL?

Michael C


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

end of thread, other threads:[~2002-04-08 16:06 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-05 11:09 RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp] Michael Elizabeth Chastain
2002-04-05 12:07 ` Fernando Nasser
2002-04-07 16:30 ` Rob Savoye
2002-04-08  8:41   ` Fernando Nasser
  -- strict thread matches above, loose matches on Subject: below --
2002-04-08  8:59 Michael Elizabeth Chastain
2002-04-08  9:06 ` Fernando Nasser
2002-04-07 17:31 Michael Elizabeth Chastain
2002-04-07 17:38 ` Rob Savoye
2002-04-07 16:53 Michael Elizabeth Chastain
2002-04-07 17:02 ` Rob Savoye
2002-04-05 11:14 Michael Elizabeth Chastain
2002-04-07 16:35 ` Rob Savoye
2002-04-05  9:53 Michael Elizabeth Chastain
2002-04-05 10:22 ` Daniel Jacobowitz
2002-04-05 13:45   ` Andrew Cagney
2002-04-05 13:51     ` Daniel Jacobowitz
2002-04-05 10:23 ` Fernando Nasser
2002-04-05  7:23 [RFA/mi-testsuite] XFAIL mi*-console.exp Michael Elizabeth Chastain
2002-04-05  7:58 ` RFC: KFAILs [Was: [RFA/mi-testsuite] XFAIL mi*-console.exp] Fernando Nasser

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