Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2003-01-17 19:32 Michael Elizabeth Chastain
  0 siblings, 0 replies; 51+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-17 19:32 UTC (permalink / raw)
  To: ac131313; +Cc: drow, fnasser, gdb-patches

Andrew C writes:

> See: http://sources.redhat.com/ml/gdb/2003-01/msg00296.html

Ah, okay, I misunderstood.  Now I understand that you are talking
about 's/CLLbsNNNNN//', not 'g/CLLbsNNNNN/d'.

I still think that's not useful in light of the progress we are
making but I would not be opposed to it happening.

Michael C


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2003-01-17 19:28 Michael Elizabeth Chastain
  2003-01-17 19:34 ` Daniel Jacobowitz
  0 siblings, 1 reply; 51+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-17 19:28 UTC (permalink / raw)
  To: carlton; +Cc: ac131313, drow, fnasser, gdb-patches

David C writes:
> I've noticed that there are an awful lot of DWARF 1 ones, which I
> assume actually are legit.

Here is what I want to do about gdb DWARF-1 C++ support:

  make a policy decision whether gdb supports DWARF-1 with C++

  if yes:
    remove all the setup_xfail_format DWARF-1 calls
    add regular DWARF-1 testing
    file about 50 new PR's for all the new FAIL's
    file PR's against gcc for the external bugs (and they will hate us)

  if no:
    document that gdb supports C++ with DWARF-2 or stabs+ but not DWARF-1
    add a DWARF-1 check to "skip_cplus_tests"
    remove all the setup_xfail_format DWARF-1 calls

Michael C


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2003-01-17 19:00 Michael Elizabeth Chastain
  2003-01-17 19:16 ` David Carlton
  2003-01-17 19:28 ` Andrew Cagney
  0 siblings, 2 replies; 51+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-17 19:00 UTC (permalink / raw)
  To: fnasser; +Cc: ac131313, drow, gdb-patches

Good morning xfail crew,

There are a lot of xfail's in the corpus, but the number is shrinking
steadily with time.

  % cd testsuite
  % grep -r setup_xfail gdb.* | wc

    5.2.1               649
    5.3                 577
    HEAD%20030115       517

After sleeping on the problem, I like Daniel J's path for a while.
Just keep banging on the test suite and reducing that "517" number with
no more machinery and no Andrew C Big Rip.  After we kill a bunch more
of them then we can do some kind of Big Rip or new visual markings for
the legitimate ones.

> Just one note: there are cases where the XFAIL is produced by a 'xfail'
> command inside a '-re' clause.

I count 26 of those in HEAD%20030115.

> The case for debugger format and compiler version is so common that I
> would feel tempted to have a special function for that.

The trouble is that you wind up with various boolean combinations,
such as a test that xfail's with either gcc v2 stabs or icc+blah.

I think the real issue is that we have to specify and document which
compilers that the gdb test suite supports.

Michael C


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2003-01-16 20:06 Michael Elizabeth Chastain
  2003-01-16 20:12 ` Daniel Jacobowitz
  2003-01-17 14:26 ` Fernando Nasser
  0 siblings, 2 replies; 51+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-16 20:06 UTC (permalink / raw)
  To: ac131313, drow; +Cc: fnasser, gdb-patches

My two cents ...

Daniel J suggests that we keep making improvements:
  > XFAIL->KFAIL
  > random XFAIL->analyzed XFAIL
  > XFAIL->PASS

The problem is that, in the source code, "setup_xfail" looks the same
for both our crap legacy XFAIL's and the nice new analyzed xfail's.

Perhaps a little mechanism like "gdb_mark_external_fail" would help.
Then "grep xfail" would find only the shrinking pool of old stuff.

> This I definitely like.  "Cantfix"?

I propose "external".

I find "cantfix" to be a bit arrogant and a bit negative.  And it doesn't
distinguish between "I can't fix this because I don't have the resources"
versus "I can't fix this because I can show you that binutils is feeding
gdb incorrect / incomplete information".

Michael C


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2003-01-16 17:12 Michael Elizabeth Chastain
  0 siblings, 0 replies; 51+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-16 17:12 UTC (permalink / raw)
  To: drow, fnasser; +Cc: gdb-patches

Daniel writes:
> Associating a PR with them is a different issue.  Just because we
> associate a PR doesn't mean we have to use KFAIL.

Fernando writes:
> That is correct.  The last argument of a setup_xfail, if it does not
> contain '-' (Argh!  Don't blame me, it was already there since immemorial
> times) is the PR number.  It can easily be a gdb/NNN bug id.  We cannot
> enforce the syntax, but we can enforce it as a police.

Okay, I can live with that.  As long as there is a *gdb* bug id on it;
that is the important part to me.

For the mechanics, we can set 'class=suspended', or maybe we can add a
new class to gnats.

> Why doing this?  A script can go through the KFAILs (for each platform)
> and, by reading the Gnats database, automatically create a KNOWN BUGS
> man page section, or a section of a Release Notes document.

Right now, I do this for native i686-pc-linux-gnu for every release
candidate.  So it helps a lot when all KFAIL's and XFAIL's point to
a place where we can write analysis notes.

> P.S.: Does someone know how to programatically access the Gnats database?

I don't know.  You could do screen scraping with URL's like the ones
that I post in the sunday project reports.

Michael C


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2003-01-16 17:07 Michael Elizabeth Chastain
  0 siblings, 0 replies; 51+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-16 17:07 UTC (permalink / raw)
  To: fnasser; +Cc: ac131313, gdb-patches

Fernando writes:

> That is a true XFAIL, but it should be conditional to version 2 compilers
> and stabs, so that it does not show as XPASS everywhere else.

(regarding constvars.exp)
I agree.  In fact the mechanics are really easy, I think it's a 1-line
patch.  'gcc_info' contains more information than we thought, it is
not just a boolean, it's an integer with the gcc major version number.

> Please see my reply to Daniel's message.

Okay I'll take my thoughts over there.

Michael C


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2003-01-15 17:44 Michael Elizabeth Chastain
  2003-01-15 17:51 ` Daniel Jacobowitz
  2003-01-16 14:20 ` Fernando Nasser
  0 siblings, 2 replies; 51+ messages in thread
From: Michael Elizabeth Chastain @ 2003-01-15 17:44 UTC (permalink / raw)
  To: ac131313, fnasser; +Cc: gdb-patches

Fernando Nasser writes:
> As I said, this is just a brainstorm.  Please comment.

Ooh!  Ooh!

First I think that we are making great progress, especially Daniel J.
There is no hurry on the policy issue because the test suite corpus is
getting a lot better.  In particular, I feel no hurry to rip out
every setup_xfail en masse, because we are making progress with them
individually.

I agree with Fernando that it's okay to tie every XFAIL to a gdb PR
and turn it into a KFAIL (at least, I think he is saying that).

Let's take a specific case.  gdb.base/constvars.exp has a lot of
tests such as "const char * foo ; ptype foo".  With gcc 2.95.3/stabs+,
the "ptype" prints "char * foo".  This happens because gcc 2.95.3/stabs+
does not put any const information in the stabs.  This is probably never
going to get fixed in the gcc 2 series.

Now the real problem comes to light.  'K' and 'X' are really orthogonal.
'K' means that we know about the problem, and 'X' means that it is
a problem in an external tool, and these two things are separate.
But we made them an either/or, so we have to choose.

I'd rather have this become a KFAIL with reference to a gdb PR.  Then
the gdb PR can say that this incorrect behavior happens, but it's not
gdb's fault.  The gdb PR should refer to a gcc PR or other external PR.
And then we can't close the gdb PR until gcc revives gcc 2.X development
or gdb drop supports for gcc 2.X.

We could add another PR state for these kind of PR's, or we could
just use the 'suspended' state.

From the gdb user's point of view, a bug is a bug.  A gdb user can do
the same thing as the test suite and then file a PR: 'gdb fails to
print 'const' for const types'.

Michael C


^ permalink raw reply	[flat|nested] 51+ messages in thread
* [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/
@ 2002-10-24 11:41 Andrew Cagney
  2002-10-24 12:09 ` Daniel Jacobowitz
                   ` (3 more replies)
  0 siblings, 4 replies; 51+ messages in thread
From: Andrew Cagney @ 2002-10-24 11:41 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

Hello,

GDB's testsuite is known to be full of xfails that are really kfails or 
testsuite bugs.  Rather than try to audit each xfail in turn, the 
proposal as been to rip out all the xfails (creating a clean slate) and 
start marking up the tests from scratch - two steps forward but first 
one step back.

I figure I might as well try to get the ball rolling on this and find 
out just how much real resistance there is going to be to a change like 
this.  To that end, this removes all xfail's from the gdb.mi testsuite. 
  Similar tests, for the other directories, would follow.

On a GNU/Linux i386 system (Red Hat 7.2 I think) I see:

Before:

                 === gdb Summary ===

# of expected passes            8298
# of unexpected failures        60
# of unexpected successes       10
# of expected failures          172
# of unsupported tests          2

After:

                 === gdb Summary ===

# of expected passes            8298
# of unexpected failures        88
# of unexpected successes       10
# of expected failures          144
# of unsupported tests          2

Comments?

Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 13873 bytes --]

2002-10-24  Andrew Cagney  <cagney@redhat.com>

	* mi-var-block.exp, mi1-var-block.exp: Remove all uses of
	setup_xfail and clear_xfail.
	* mi-var-cmd.exp, mi1-var-cmd.exp: Ditto.
	* mi1-var-display.exp, mi-var-display.exp: Ditto.
	* mi-var-child.exp, mi1-var-child.exp: Ditto.
	* mi-break.exp, mi1-break.exp: Remove all uses of setup_xfail.
	Update copyright.

Index: gdb.mi/mi-break.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-break.exp,v
retrieving revision 1.5
diff -u -r1.5 mi-break.exp
--- gdb.mi/mi-break.exp	27 Jun 2001 17:27:07 -0000	1.5
+++ gdb.mi/mi-break.exp	24 Oct 2002 18:07:01 -0000
@@ -1,4 +1,4 @@
-#   Copyright 1999 Free Software Foundation, Inc.
+# Copyright 1999, 2002 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -101,27 +101,22 @@
     # -break-insert -r .*llee
     # -break-list
 
-    setup_xfail "*-*-*"
     mi_gdb_test "122-break-insert -r main" \
              "122\\^done,bkpt=\{number=\"5\",addr=\"$hex\",file=\".*basics.c\",line=\"32\"\}" \
              "break-insert -r operation"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "133-break-insert -r callee2" \
              "133\\^done,bkpt=\{number=\"6\",addr=\"$hex\",file=\".*basics.c\",line=\"22\"\}" \
              "insert breakpoint with regexp callee2"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "144-break-insert -r callee" \
 	    "144\\^done,bkpt=\{number=\"7\",addr=\"$hex\",file=\".*basics.c\",line=\"27\"\},bkpt=\{number=\"8\",addr=\"$hex\",file=\".*basics.c\",line=\"22\"\},bkpt=\{number=\"9\",addr=\"$hex\",file=\".*basics.c\",line=\"17\"\},bkpt=\{number=\"10\",addr=\"$hex\",file=\".*basics.c\",line=\"8\"\}" \
              "insert breakpoint with regexp callee"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "155-break-insert -r \.\*llee" \
 	    "155\\^done,bkpt=\{number=\"11\",addr=\"$hex\",file=\".*basics.c\",line=\"27\"\},bkpt=\{number=\"12\",addr=\"$hex\",file=\".*basics.c\",line=\"22\"\},bkpt=\{number=\"13\",addr=\"$hex\",file=\".*basics.c\",line=\"17\"\},bkpt=\{number=\"14\",addr=\"$hex\",file=\".*basics.c\",line=\"8\"\}" \
              "insert breakpoint with regexp .*llee"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "166-break-list" \
 	    "1\\\^done,BreakpointTable=\{nr_rows=\".\",nr_cols=\".\",hdr=\\\[\{width=\".*\",alignment=\".*\",col_name=\"number\",colhdr=\"Num\"\}.*colhdr=\"Type\".*colhdr=\"Disp\".*colhdr=\"Enb\".*colhdr=\"Address\".*colhdr=\"What\".*\\\],body=\\\[bkpt=\{number=\"5\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"$hex\",func=\"main\",file=\".*basics.c\",line=\"32\",times=\"0\"\},.*\}\\\]\}" \
                 "list of breakpoints"
Index: gdb.mi/mi-var-block.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-var-block.exp,v
retrieving revision 1.8
diff -u -r1.8 mi-var-block.exp
--- gdb.mi/mi-var-block.exp	3 Oct 2002 20:03:55 -0000	1.8
+++ gdb.mi/mi-var-block.exp	24 Oct 2002 18:07:01 -0000
@@ -142,17 +142,13 @@
 # Test: c_variable-3.7
 # Desc: check that outer foo in scope and inner foo out of scope
 # Note: also a known gdb problem
-setup_xfail *-*-*
 mi_gdb_test "-var-update inner_foo" \
 	"\\^done,changelist=\{FIXME\}" \
 	"update inner_foo: should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 
-setup_xfail *-*-*
 mi_gdb_test "-var-evaluate-expression inner_foo" \
 	"\\^done,value=\{FIXME\}" \
 	"evaluate inner_foo: should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 
 mi_gdb_test "-var-update foo" \
 	"\\^done,changelist=\\\[\\\]" \
@@ -173,11 +169,9 @@
 
 # Test: c_variable-3.8
 # Desc: check that foo2 out of scope (known gdb problem)
-setup_xfail *-*-*
 mi_gdb_test "-var-update foo2" \
 	"\\^done,changelist=\{FIXME\}" \
 	"update foo2: should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 
 # step to "cb = 21;"
 send_gdb "-exec-step\n"
@@ -191,16 +185,12 @@
 
 # Test: c_variable-3.9
 # Desc: check that only cb is in scope (known gdb problem)
-setup_xfail *-*-*
 mi_gdb_test "-var-update foo2" \
 	"\\^done,changelist=\\\[FIXME\\\]" \
 	"update foo2 should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
-setup_xfail *-*-*
 mi_gdb_test "-var-update foo" \
 	"\\^done,changelist=\{FIXME\}" \
 	"update foo should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 mi_gdb_test "-var-update cb" \
 	"\\^done,changelist=\\\[\\\]" \
 	"update cb"
Index: gdb.mi/mi-var-child.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-var-child.exp,v
retrieving revision 1.12
diff -u -r1.12 mi-var-child.exp
--- gdb.mi/mi-var-child.exp	3 Oct 2002 20:03:55 -0000	1.12
+++ gdb.mi/mi-var-child.exp	24 Oct 2002 18:07:01 -0000
@@ -1176,11 +1176,9 @@
 # Test: c_variable-5.51
 # Desc: check that psnp->next->long_ptr (and [1].long_ptr) changed
 # Why does this have a FIXME?
-setup_xfail *-*-*
 mi_gdb_test "-var-update *" \
 	"FIXME\\^done,changelist=\\\[\{name=\"psnp->ptrs.0.next.long_ptr\",in_scope=\"true\",type_changed=\"false\"\}\\\]" \
 	"update all vars psnp->next->long_ptr (and 1.long_ptr) changed"
-clear_xfail *-*-*
 
 # This command produces this error message:
 # &"warning: varobj_list: assertion failed - mycount <> 0\n"
Index: gdb.mi/mi-var-cmd.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-var-cmd.exp,v
retrieving revision 1.14
diff -u -r1.14 mi-var-cmd.exp
--- gdb.mi/mi-var-cmd.exp	23 Oct 2002 23:57:28 -0000	1.14
+++ gdb.mi/mi-var-cmd.exp	24 Oct 2002 18:07:02 -0000
@@ -429,11 +429,9 @@
 #       special case that, since it is not what a human expects to
 #       see.
 
-setup_xfail *-*-*
 mi_gdb_test "-var-update *" \
 	"\\^done,changelist=\{FIXME: WHAT IS CORRECT HERE\}" \
 	"update all vars: changed FIXME"
-clear_xfail *-*-*
 
 mi_step_to "subroutine1" "\{name=\"i\",value=\".*\"\},\{name=\"l\",value=\".*\"\}" \
 	"var-cmd.c" "148" "step at subroutine1 (2)"
Index: gdb.mi/mi-var-display.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-var-display.exp,v
retrieving revision 1.8
diff -u -r1.8 mi-var-display.exp
--- gdb.mi/mi-var-display.exp	17 Sep 2002 20:30:24 -0000	1.8
+++ gdb.mi/mi-var-display.exp	24 Oct 2002 18:07:02 -0000
@@ -491,13 +491,11 @@
 	"\\^done,name=\"e\",numchild=\"0\",type=\"enum foo\"" \
 	"create local variable e"
 
-setup_xfail "*-*-*"
 # Test: c_variable-7.51
 # Desc: value of e
 mi_gdb_test "-var-evaluate-expression e" \
 	"\\^done,value=\"FIXME\"" \
 	"eval variable e"
-clear_xfail "*-*-*"
 
 # Test: c_variable-7.52
 # Desc: type of e
@@ -529,13 +527,11 @@
 	"\\^done,name=\"anone\",numchild=\"0\",type=\"enum \{\\.\\.\\.\}\"" \
 	"create local variable anone"
 
-setup_xfail "*-*-*"
 # Test: c_variable-7.61
 # Desc: value of anone
 mi_gdb_test "-var-evaluate-expression anone" \
 	"\\^done,value=\"A\"" \
 	"eval variable anone"
-clear_xfail "*-*-*"
 
 
 # Test: c_variable-7.70
Index: gdb.mi/mi1-break.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi1-break.exp,v
retrieving revision 1.2
diff -u -r1.2 mi1-break.exp
--- gdb.mi/mi1-break.exp	1 Oct 2002 16:01:37 -0000	1.2
+++ gdb.mi/mi1-break.exp	24 Oct 2002 18:07:02 -0000
@@ -1,4 +1,4 @@
-#   Copyright 1999 Free Software Foundation, Inc.
+# Copyright 1999, 2002 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -101,27 +101,22 @@
     # -break-insert -r .*llee
     # -break-list
 
-    setup_xfail "*-*-*"
     mi_gdb_test "122-break-insert -r main" \
              "122\\^done,bkpt=\{number=\"5\",addr=\"$hex\",file=\".*basics.c\",line=\"32\"\}" \
              "break-insert -r operation"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "133-break-insert -r callee2" \
              "133\\^done,bkpt=\{number=\"6\",addr=\"$hex\",file=\".*basics.c\",line=\"22\"\}" \
              "insert breakpoint with regexp callee2"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "144-break-insert -r callee" \
 	    "144\\^done,bkpt=\{number=\"7\",addr=\"$hex\",file=\".*basics.c\",line=\"27\"\},bkpt=\{number=\"8\",addr=\"$hex\",file=\".*basics.c\",line=\"22\"\},bkpt=\{number=\"9\",addr=\"$hex\",file=\".*basics.c\",line=\"17\"\},bkpt=\{number=\"10\",addr=\"$hex\",file=\".*basics.c\",line=\"8\"\}" \
              "insert breakpoint with regexp callee"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "155-break-insert -r \.\*llee" \
 	    "155\\^done,bkpt=\{number=\"11\",addr=\"$hex\",file=\".*basics.c\",line=\"27\"\},bkpt=\{number=\"12\",addr=\"$hex\",file=\".*basics.c\",line=\"22\"\},bkpt=\{number=\"13\",addr=\"$hex\",file=\".*basics.c\",line=\"17\"\},bkpt=\{number=\"14\",addr=\"$hex\",file=\".*basics.c\",line=\"8\"\}" \
              "insert breakpoint with regexp .*llee"
 
-    setup_xfail "*-*-*"
     mi_gdb_test "166-break-list" \
 	    "1\\\^done,BreakpointTable=\{nr_rows=\".\",nr_cols=\".\",hdr=\\\[\{width=\".*\",alignment=\".*\",col_name=\"number\",colhdr=\"Num\"\}.*colhdr=\"Type\".*colhdr=\"Disp\".*colhdr=\"Enb\".*colhdr=\"Address\".*colhdr=\"What\".*\\\],body=\\\[bkpt=\{number=\"5\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"$hex\",func=\"main\",file=\".*basics.c\",line=\"32\",times=\"0\"\},.*\}\\\]\}" \
                 "list of breakpoints"
Index: gdb.mi/mi1-var-block.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi1-var-block.exp,v
retrieving revision 1.2
diff -u -r1.2 mi1-var-block.exp
--- gdb.mi/mi1-var-block.exp	1 Oct 2002 16:01:37 -0000	1.2
+++ gdb.mi/mi1-var-block.exp	24 Oct 2002 18:07:02 -0000
@@ -142,17 +142,13 @@
 # Test: c_variable-3.7
 # Desc: check that outer foo in scope and inner foo out of scope
 # Note: also a known gdb problem
-setup_xfail *-*-*
 mi_gdb_test "-var-update inner_foo" \
 	"\\^done,changelist=\{FIXME\}" \
 	"update inner_foo: should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 
-setup_xfail *-*-*
 mi_gdb_test "-var-evaluate-expression inner_foo" \
 	"\\^done,value=\{FIXME\}" \
 	"evaluate inner_foo: should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 
 mi_gdb_test "-var-update foo" \
 	"\\^done,changelist=\{\}" \
@@ -173,11 +169,9 @@
 
 # Test: c_variable-3.8
 # Desc: check that foo2 out of scope (known gdb problem)
-setup_xfail *-*-*
 mi_gdb_test "-var-update foo2" \
 	"\\^done,changelist=\{FIXME\}" \
 	"update foo2: should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 
 # step to "cb = 21;"
 send_gdb "-exec-step\n"
@@ -191,16 +185,12 @@
 
 # Test: c_variable-3.9
 # Desc: check that only cb is in scope (known gdb problem)
-setup_xfail *-*-*
 mi_gdb_test "-var-update foo2" \
 	"\\^done,changelist=\{FIXME\}" \
 	"update foo2 should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
-setup_xfail *-*-*
 mi_gdb_test "-var-update foo" \
 	"\\^done,changelist=\{FIXME\}" \
 	"update foo should be out of scope: KNOWN PROBLEM"
-clear_xfail *-*-*
 mi_gdb_test "-var-update cb" \
 	"\\^done,changelist=\{\}" \
 	"update cb"
Index: gdb.mi/mi1-var-child.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi1-var-child.exp,v
retrieving revision 1.2
diff -u -r1.2 mi1-var-child.exp
--- gdb.mi/mi1-var-child.exp	1 Oct 2002 16:01:37 -0000	1.2
+++ gdb.mi/mi1-var-child.exp	24 Oct 2002 18:07:03 -0000
@@ -1176,11 +1176,9 @@
 # Test: c_variable-5.51
 # Desc: check that psnp->next->long_ptr (and [1].long_ptr) changed
 # Why does this have a FIXME?
-setup_xfail *-*-*
 mi_gdb_test "-var-update *" \
 	"FIXME\\^done,changelist=\{name=\"psnp->ptrs.0.next.long_ptr\",in_scope=\"true\",type_changed=\"false\"\}" \
 	"update all vars psnp->next->long_ptr (and 1.long_ptr) changed"
-clear_xfail *-*-*
 
 # This command produces this error message:
 # &"warning: varobj_list: assertion failed - mycount <> 0\n"
Index: gdb.mi/mi1-var-cmd.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi1-var-cmd.exp,v
retrieving revision 1.3
diff -u -r1.3 mi1-var-cmd.exp
--- gdb.mi/mi1-var-cmd.exp	23 Oct 2002 23:57:28 -0000	1.3
+++ gdb.mi/mi1-var-cmd.exp	24 Oct 2002 18:07:03 -0000
@@ -429,11 +429,9 @@
 #       special case that, since it is not what a human expects to
 #       see.
 
-setup_xfail *-*-*
 mi_gdb_test "-var-update *" \
 	"\\^done,changelist=\{FIXME: WHAT IS CORRECT HERE\}" \
 	"update all vars: changed FIXME"
-clear_xfail *-*-*
 
 mi_step_to "subroutine1" "\{name=\"i\",value=\".*\"\},\{name=\"l\",value=\".*\"\}" \
 	"var-cmd.c" "148" "step at subroutine1 (2)"
Index: gdb.mi/mi1-var-display.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi1-var-display.exp,v
retrieving revision 1.2
diff -u -r1.2 mi1-var-display.exp
--- gdb.mi/mi1-var-display.exp	1 Oct 2002 16:01:37 -0000	1.2
+++ gdb.mi/mi1-var-display.exp	24 Oct 2002 18:07:03 -0000
@@ -491,13 +491,11 @@
 	"\\^done,name=\"e\",numchild=\"0\",type=\"enum foo\"" \
 	"create local variable e"
 
-setup_xfail "*-*-*"
 # Test: c_variable-7.51
 # Desc: value of e
 mi_gdb_test "-var-evaluate-expression e" \
 	"\\^done,value=\"FIXME\"" \
 	"eval variable e"
-clear_xfail "*-*-*"
 
 # Test: c_variable-7.52
 # Desc: type of e
@@ -529,13 +527,11 @@
 	"\\^done,name=\"anone\",numchild=\"0\",type=\"enum \{\\.\\.\\.\}\"" \
 	"create local variable anone"
 
-setup_xfail "*-*-*"
 # Test: c_variable-7.61
 # Desc: value of anone
 mi_gdb_test "-var-evaluate-expression anone" \
 	"\\^done,value=\"A\"" \
 	"eval variable anone"
-clear_xfail "*-*-*"
 
 
 # Test: c_variable-7.70

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

end of thread, other threads:[~2003-01-17 19:34 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 19:32 [patch/rfc] Remove all setup_xfail's from testsuite/gdb.mi/ Michael Elizabeth Chastain
  -- strict thread matches above, loose matches on Subject: below --
2003-01-17 19:28 Michael Elizabeth Chastain
2003-01-17 19:34 ` Daniel Jacobowitz
2003-01-17 19:00 Michael Elizabeth Chastain
2003-01-17 19:16 ` David Carlton
2003-01-17 19:20   ` David Carlton
2003-01-17 19:30     ` Daniel Jacobowitz
2003-01-17 19:28 ` Andrew Cagney
2003-01-16 20:06 Michael Elizabeth Chastain
2003-01-16 20:12 ` Daniel Jacobowitz
2003-01-17 14:12   ` Fernando Nasser
2003-01-17 16:05     ` Andrew Cagney
2003-01-17 14:26 ` Fernando Nasser
2003-01-16 17:12 Michael Elizabeth Chastain
2003-01-16 17:07 Michael Elizabeth Chastain
2003-01-15 17:44 Michael Elizabeth Chastain
2003-01-15 17:51 ` Daniel Jacobowitz
2003-01-16 14:27   ` Fernando Nasser
2003-01-16 14:30     ` Daniel Jacobowitz
2003-01-16 14:46       ` Fernando Nasser
2003-01-16 14:52         ` Daniel Jacobowitz
2003-01-16 15:46     ` Andrew Cagney
2003-01-16 14:20 ` Fernando Nasser
2002-10-24 11:41 Andrew Cagney
2002-10-24 12:09 ` Daniel Jacobowitz
2002-10-24 12:29   ` Andrew Cagney
2002-10-24 12:58     ` Daniel Jacobowitz
2002-10-24 14:22       ` Andrew Cagney
2002-10-24 14:26         ` Daniel Jacobowitz
2002-10-24 14:39           ` Michael Snyder
2002-10-24 16:31             ` Andrew Cagney
2002-10-24 16:36               ` Michael Snyder
2002-10-24 14:50           ` Andrew Cagney
2002-10-24 14:58             ` Michael Snyder
2002-10-24 15:31               ` Ben Elliston
2002-10-24 16:44               ` Andrew Cagney
2002-10-24 17:35                 ` Michael Snyder
2002-10-24 18:25                   ` Andrew Cagney
2002-10-24 14:18 ` Michael Snyder
2002-10-24 14:32   ` Andrew Cagney
2002-10-24 14:39 ` David Carlton
2002-10-24 14:57   ` Andrew Cagney
2002-10-24 15:00     ` Michael Snyder
2002-10-24 15:26     ` David Carlton
2002-10-24 15:36       ` Andrew Cagney
2003-01-15 15:55 ` Andrew Cagney
2003-01-15 17:25   ` Fernando Nasser
2003-01-16 16:53     ` Andrew Cagney
2003-01-16 17:05       ` Daniel Jacobowitz
2003-01-16 19:03         ` Andrew Cagney
2003-01-16 19:55           ` Daniel Jacobowitz

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