From: Mark Kettenis Date: Sun, 21 Jan 2001 15:07:05 +0000 (+0000) Subject: * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d76bd60cf9f151e8a5f04b89e0c4689f2ae0256;p=binutils-gdb.git * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is recognized (i.e. if GDB was compiled with UI_OUT, but the mi interpreter wasn't recognized (because it wasn't compiled in). --- diff --git a/gdb/testsuite/gdb.mi/ChangeLog-mi b/gdb/testsuite/gdb.mi/ChangeLog-mi index 0802adf27a3..cbe0e4f0ac9 100644 --- a/gdb/testsuite/gdb.mi/ChangeLog-mi +++ b/gdb/testsuite/gdb.mi/ChangeLog-mi @@ -1,3 +1,9 @@ +2001-01-20 Mark Kettenis + + * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is + recognized (i.e. if GDB was compiled with UI_OUT, but the mi + interpreter wasn't recognized (because it wasn't compiled in). + Tue Apr 18 15:36:07 2000 Andrew Cagney * Makefile.in (clean mostlyclean): Do not delete $(MISCELLANEOUS). diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 6b3e3e7e682..d4c4cf007b8 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -135,6 +135,11 @@ proc mi_gdb_start { } { remote_close host; return -1; } + -re ".*Interpreter `mi' unrecognized." { + 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;