aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-01-21 15:07:05 +0000
committerMark Kettenis <kettenis@gnu.org>2001-01-21 15:07:05 +0000
commit7d76bd60cf9f151e8a5f04b89e0c4689f2ae0256 (patch)
tree8c691d055199eb29e60337e652e39574c67c41d3 /gdb/testsuite/lib
parentebf0fa2e68bf87dde98c162ab18d39c62707c06b (diff)
downloadgdb-7d76bd60cf9f151e8a5f04b89e0c4689f2ae0256.zip
gdb-7d76bd60cf9f151e8a5f04b89e0c4689f2ae0256.tar.gz
gdb-7d76bd60cf9f151e8a5f04b89e0c4689f2ae0256.tar.bz2
* 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).
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/mi-support.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 6b3e3e7..d4c4cf0 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;