diff options
author | Daniel Jacobowitz <dan@debian.org> | 2007-04-29 16:20:50 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2007-04-29 16:20:50 +0000 |
commit | 59f7923389f3f7a11ded2adc681a960fd1a3bb73 (patch) | |
tree | bcf0f2526c68a5c2eb90e26c3ec0c86d8e499e0c /gdb/testsuite/lib | |
parent | 001b67176c1f4c74f05958eb5c5d2ea4f70ce4ef (diff) | |
download | gdb-59f7923389f3f7a11ded2adc681a960fd1a3bb73.tar.gz |
* 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 2482016e952..6763ff527f0 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" } } } |