This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix MI xfail
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 26 Mar 2008 16:42:39 +0300
- Subject: Fix MI xfail
One MI test is xfailed, but passes for me since forever. I've
checked in the following.
- Volodya
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v
retrieving revision 1.1589
diff -u -p -r1.1589 ChangeLog
--- ChangeLog 26 Mar 2008 13:24:21 -0000 1.1589
+++ ChangeLog 26 Mar 2008 13:35:45 -0000
@@ -1,5 +1,10 @@
2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
+ * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
+ * gdb.mi/mi2-var-display.exp: Likewise.
+
+2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
+
* lib/mi-support.exp (mi_create_varobj_checked): New.
(mi_list_varobj_children): Allow to check for a
value.
Index: gdb.mi/mi-var-display.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-var-display.exp,v
retrieving revision 1.22
diff -u -p -r1.22 mi-var-display.exp
--- gdb.mi/mi-var-display.exp 26 Mar 2008 13:24:21 -0000 1.22
+++ gdb.mi/mi-var-display.exp 26 Mar 2008 13:35:45 -0000
@@ -535,14 +535,11 @@ mi_gdb_test "-var-list-children e" \
# Desc: create anone
mi_create_varobj anone anone "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
# Desc: create anone
Index: gdb.mi/mi2-var-display.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi2-var-display.exp,v
retrieving revision 1.15
diff -u -p -r1.15 mi2-var-display.exp
--- gdb.mi/mi2-var-display.exp 26 Mar 2008 13:24:21 -0000 1.15
+++ gdb.mi/mi2-var-display.exp 26 Mar 2008 13:35:45 -0000
@@ -535,14 +535,11 @@ mi_gdb_test "-var-list-children e" \
# Desc: create anone
mi_create_varobj anone anone "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
# Desc: create anone