diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-04-27 00:45:19 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-04-27 00:45:19 +0000 |
commit | 1960c4001cded572f96ab9b95085377ffed6cbb5 (patch) | |
tree | 74c38e64e93b3c4907d9dad00be7a912813e286f /gdb/testsuite/gdb.base/call-strs.exp | |
parent | fa4e99ecee498ee5151660dc4d402ff8f0ba4c1e (diff) | |
download | fsf-binutils-gdb-1960c4001cded572f96ab9b95085377ffed6cbb5.zip fsf-binutils-gdb-1960c4001cded572f96ab9b95085377ffed6cbb5.tar.gz fsf-binutils-gdb-1960c4001cded572f96ab9b95085377ffed6cbb5.tar.bz2 |
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/call-ar-st.exp: Bail out if target is sparclet.
This test depends on parsing the printf output from the target.
Since the sparclet stub doesn't do stdio, this will never work.
* gdb.base/call-rt-st.exp: ditto.
* gdb.base/call-strs: ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/call-strs.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/call-strs.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/call-strs.exp b/gdb/testsuite/gdb.base/call-strs.exp index 84c1ef5..5e6cbff 100644 --- a/gdb/testsuite/gdb.base/call-strs.exp +++ b/gdb/testsuite/gdb.base/call-strs.exp @@ -37,6 +37,11 @@ set testfile "call-strs" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} +# Test depends on printf, which the sparclet stub doesn't support. +if { [istarget "sparclet-*-*"] } { + return 0; +} + if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } @@ -91,6 +96,7 @@ send_gdb "set print sevenbit-strings\n" ; gdb_expect -re "$gdb_prompt $" send_gdb "set print address off\n" ; gdb_expect -re "$gdb_prompt $" send_gdb "set width 0\n" ; gdb_expect -re "$gdb_prompt $" +set timeout 120 if ![runto_main] then { perror "couldn't run to breakpoint" |