[RFA/mi-testsuite] XFAIL mi*-console.exp

Daniel Jacobowitz drow@mvista.com
Tue Apr 2 16:42:00 GMT 2002


These tests are testing for a feature that exists either nowhere or just in
simulators and some remote stubs: that the inferior's output goes through
GDB and is properly encoded by the MI layer.  Since support isn't there for
many remote debugging stubs or for native, I think these two tests should be
XFAIL'd.  Does that make sense, Andrew?  If so, OK to commit this?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

2002-04-02  Daniel Jacobowitz  <drow@mvista.com>

	* gdb.mi/mi-console.exp: Accept lack of MI-console output as an
	XFAIL.
	* gdb.mi/mi0-console.exp: Likewise.

Index: testsuite/gdb.mi/mi-console.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-console.exp,v
retrieving revision 1.7
diff -u -p -r1.7 mi-console.exp
--- mi-console.exp	2001/08/19 01:23:43	1.7
+++ mi-console.exp	2002/04/03 00:38:09
@@ -92,7 +92,10 @@ gdb_expect {
 	# multiple event sources to channel the output back through the
 	# MI.
 
-	fail "Hello message (known bug)"
+	xfail "Hello message (known limitation)"
+    }
+    -notransfer -re "\r\n$mi_gdb_prompt" {
+	xfail "Hello message (no output)"
     }
     timeout {
 	fail "Hello message (timeout)"
Index: testsuite/gdb.mi/mi0-console.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi0-console.exp,v
retrieving revision 1.5
diff -u -p -r1.5 mi0-console.exp
--- mi0-console.exp	2001/08/19 01:23:43	1.5
+++ mi0-console.exp	2002/04/03 00:38:09
@@ -92,7 +92,10 @@ gdb_expect {
 	# multiple event sources to channel the output back through the
 	# MI.
 
-	fail "Hello message (known bug)"
+	xfail "Hello message (known limitation)"
+    }
+    -notransfer -re "\r\n$mi_gdb_prompt" {
+	xfail "Hello message (no output)"
     }
     timeout {
 	fail "Hello message (timeout)"



More information about the Gdb-patches mailing list