diff options
author | Michael Snyder <msnyder@specifix.com> | 2000-04-27 00:45:19 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2000-04-27 00:45:19 +0000 |
commit | a23dca0205c64965ae38b122fb6a7570ad107bee (patch) | |
tree | 5da524fe2dd0530b1368bbf1193481b2f272f3ca /gdb/testsuite | |
parent | 67f8387bb9722bd4c71994b252b6831567184cf3 (diff) | |
download | gdb-a23dca0205c64965ae38b122fb6a7570ad107bee.tar.gz |
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')
-rw-r--r-- | gdb/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/call-ar-st.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/call-rt-st.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/call-strs.exp | 6 |
4 files changed, 24 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8218c235732..6423ee20b3d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,11 @@ +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. + 2000-04-24 Michael Snyder <msnyder@seadog.cygnus.com> * gdb.base/miscexprs.exp: make sizeof long array test portable. diff --git a/gdb/testsuite/gdb.base/call-ar-st.exp b/gdb/testsuite/gdb.base/call-ar-st.exp index 6e90ecde24f..3744528db8d 100644 --- a/gdb/testsuite/gdb.base/call-ar-st.exp +++ b/gdb/testsuite/gdb.base/call-ar-st.exp @@ -32,6 +32,10 @@ set testfile "call-ar-st" 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." @@ -568,4 +572,4 @@ gdb_expect { return -~ + diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp index a1cca708c50..3838269191f 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.exp +++ b/gdb/testsuite/gdb.base/call-rt-st.exp @@ -36,6 +36,11 @@ 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 additional_flags=-w}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } diff --git a/gdb/testsuite/gdb.base/call-strs.exp b/gdb/testsuite/gdb.base/call-strs.exp index 84c1ef5c5b7..5e6cbff6ecd 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" |