This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] Stop MI testsuite falling on its face


The attatched (from PeterS) stops the MI testsuite falling on its face
when the MI interface wasn't enabled.

	Andrew
Sat Mar  4 13:55:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	From Fri 3 Mar 2000 Peter Schauer:
	* mi-support.exp (mi_gdb_start): When GDB doesn't recongize -i=mi
 	option, assume no MI support present.

Index: testsuite/lib/mi-support.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/mi-support.exp,v
retrieving revision 1.1
diff -p -r1.1 mi-support.exp
*** mi-support.exp	2000/02/23 00:25:43	1.1
--- mi-support.exp	2000/03/04 02:59:53
*************** proc mi_gdb_start { } {
*** 130,135 ****
--- 130,140 ----
  	    remote_close host;
  	    return -1;
  	}
+ 	-re ".*unrecognized option.*for a complete list of options." {
+ 	    untested "Skip mi tests (not compiled with mi support)."
+ 	    remote_close host;
+ 	    return -1;
+ 	}
  	timeout {
  	    perror "(timeout) GDB never initialized after 10 seconds."
  	    remote_close host;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]