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/callfuncs.exp | |
parent | d03a3acf0710b16e2dc6fdf3ae4d9d0f794d3ab5 (diff) | |
download | gdb-d426f7b4198dc3278feb6ccbe0537e6029da78e7.zip gdb-d426f7b4198dc3278feb6ccbe0537e6029da78e7.tar.gz gdb-d426f7b4198dc3278feb6ccbe0537e6029da78e7.tar.bz2 |
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/callfuncs.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/callfuncs.exp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp index 613b5f0..0a9ac45 100644 --- a/gdb/testsuite/gdb.base/callfuncs.exp +++ b/gdb/testsuite/gdb.base/callfuncs.exp @@ -209,10 +209,14 @@ proc do_function_calls {} { "call inferior func with struct - returns int" gdb_test "p t_structs_l(struct_val1)" "= 51" \ "call inferior func with struct - returns long" - gdb_test "p t_structs_f(struct_val1)" "= 2.12.*" \ - "call inferior func with struct - returns float" - gdb_test "p t_structs_d(struct_val1)" "= 9.87.*" \ - "call inferior func with struct - returns double" + + if ![target_info exists gdb,skip_float_tests] { + gdb_test "p t_structs_f(struct_val1)" "= 2.12.*" \ + "call inferior func with struct - returns float" + gdb_test "p t_structs_d(struct_val1)" "= 9.87.*" \ + "call inferior func with struct - returns double" + } + gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?\"foo\"" \ "call inferior func with struct - returns char *" } |