diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-04-29 16:20:50 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-04-29 16:20:50 +0000 |
commit | d084b3317a56e70846746ea30faeeb61a47eea71 (patch) | |
tree | 8457421fb0167a5b78cf7212596bedd1a1aad159 /gdb/testsuite/lib | |
parent | db9d7fc5700c1d43dedab26517cf43c30907b75f (diff) | |
download | gdb-d084b3317a56e70846746ea30faeeb61a47eea71.zip gdb-d084b3317a56e70846746ea30faeeb61a47eea71.tar.gz gdb-d084b3317a56e70846746ea30faeeb61a47eea71.tar.bz2 |
* gdb.mi/mi-syn-frame.c (main, foo, bar)
(have_a_very_merry_interrupt): Remove calls to puts.
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
inferior output.
* lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
test names.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 2482016..6763ff5 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -732,15 +732,19 @@ proc mi_gdb_test { args } { # If the GDB output matched, compare the inferior output. if { $result == 0 } { if [ info exists ipattern ] { - global mi_inferior_spawn_id - expect { - -i $mi_inferior_spawn_id -re "$ipattern" { - pass "inferior_output:$message" - } - timeout { - fail "inferior output timeout" - set result 1 + if { ![target_info exists gdb,noinferiorio] } { + global mi_inferior_spawn_id + expect { + -i $mi_inferior_spawn_id -re "$ipattern" { + pass "$message inferior output" + } + timeout { + fail "$message inferior output (timeout)" + set result 1 + } } + } else { + unsupported "$message inferior output" } } } |