diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-12-02 21:34:14 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-12-02 21:34:14 +0000 |
commit | d426f7b4198dc3278feb6ccbe0537e6029da78e7 (patch) | |
tree | ce9a3988692815030969d128d9ca621315cbe86b /gdb/testsuite/gdb.base/return2.exp | |
parent | d03a3acf0710b16e2dc6fdf3ae4d9d0f794d3ab5 (diff) | |
download | ppe42-binutils-d426f7b4198dc3278feb6ccbe0537e6029da78e7.tar.gz ppe42-binutils-d426f7b4198dc3278feb6ccbe0537e6029da78e7.zip |
2010-11-29 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* gdb.base/callfuncs.exp: Test for skip_float_tests.
* gdb.base/call-sc.exp: Ditto.
* gdb.base/finish.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/return2.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/return2.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/return2.exp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/return2.exp b/gdb/testsuite/gdb.base/return2.exp index f3d69d407e..c268c78a86 100644 --- a/gdb/testsuite/gdb.base/return2.exp +++ b/gdb/testsuite/gdb.base/return2.exp @@ -98,9 +98,11 @@ proc return2_tests { } { if { ! [istarget "m6811-*-*"] && ![istarget "h8300*-*"] } then { return_1 "long_long" } - return_1 "float" - if { ! [istarget "m6811-*-*"] } then { - return_1 "double" + if ![target_info exists gdb,skip_float_tests] { + return_1 "float" + if { ! [istarget "m6811-*-*"] } then { + return_1 "double" + } } } |