diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2005-03-08 10:12:21 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2005-03-08 10:12:21 +0000 |
commit | 5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b (patch) | |
tree | 13ccd824256103c6ec363449479728d615f11917 /gdb/testsuite/gdb.mi/mi-console.exp | |
parent | 549678dac212a054bd13d400abef7d67348c036b (diff) | |
download | gdb-5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b.zip gdb-5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b.tar.gz gdb-5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b.tar.bz2 |
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
* gdb.base/signull.exp: Disable if gdb,nosignals.
* gdb.cp/bs15503.exp: Disable if skip_cplus_tests
* gdb.cp/exception.exp: Disable if skip_cplus_tests.
* gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.trace/collection.exp (run_trace_experiment): Consume the
continue output at start.
(gdb_collect_locals_test): Robustify regexp.
* gdb.trace/passc-dyn.exp: Fix comment typo.
* gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-console.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-console.exp | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-console.exp b/gdb/testsuite/gdb.mi/mi-console.exp index 9986b5e..07a4f7c 100644 --- a/gdb/testsuite/gdb.mi/mi-console.exp +++ b/gdb/testsuite/gdb.mi/mi-console.exp @@ -64,23 +64,25 @@ gdb_expect { } } -gdb_expect { - -re "@\"H\"\r\n.*@\"e\"\r\n.*@\"l\"\r\n.*@\"l\"\r\n.*@\"o\"\r\n.*@\" \"\r\n.*@\"\\\\\\\\\"\r\n.*@\"\\\\\"\"\r\n.*@\"!\"\r\n.*@\"\\\\r\"\r\n.*@\"\\\\n\"\r\n" { - pass "Hello message" - } - -re "Hello" { +if { ![target_info exists gdb,noinferiorio]} { + gdb_expect { + -re "@\"H\"\r\n.*@\"e\"\r\n.*@\"l\"\r\n.*@\"l\"\r\n.*@\"o\"\r\n.*@\" \"\r\n.*@\"\\\\\\\\\"\r\n.*@\"\\\\\"\"\r\n.*@\"!\"\r\n.*@\"\\\\r\"\r\n.*@\"\\\\n\"\r\n" { + pass "Hello message" + } + -re "Hello" { - # Probably a native system where GDB doesn't have direct - # control over the inferior console. - # For this to work, GDB would need to run the inferior process - # under a PTY and then use the even-loops ability to wait on - # multiple event sources to channel the output back through the - # MI. + # Probably a native system where GDB doesn't have direct # + # control over the inferior console. # For this to work, + # GDB would need to run the inferior process # under a PTY + # and then use the even-loops ability to wait on # + # multiple event sources to channel the output back + # through the # MI. - kfail "gdb/623" "Hello message" - } - timeout { - fail "Hello message (timeout)" + kfail "gdb/623" "Hello message" + } + timeout { + fail "Hello message (timeout)" + } } } |