aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/call-rt-st.exp
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-07-16 18:44:23 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-07-16 18:44:23 +0000
commitc477543d3a562402f09911258b44fc168aee1320 (patch)
tree3217544bf8da2d4b0a47b85cd51736de34421cdb /gdb/testsuite/gdb.base/call-rt-st.exp
parent54cfd411afe802f0104e68850a7d0749ba977aac (diff)
downloadgdb-c477543d3a562402f09911258b44fc168aee1320.zip
gdb-c477543d3a562402f09911258b44fc168aee1320.tar.gz
gdb-c477543d3a562402f09911258b44fc168aee1320.tar.bz2
* call-ar-st.exp: Use gdb_skip_float_test to avoid executing
tests that print a float. * call-rt-st.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/call-rt-st.exp')
-rw-r--r--gdb/testsuite/gdb.base/call-rt-st.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp
index 70af9be..cfd81e1 100644
--- a/gdb/testsuite/gdb.base/call-rt-st.exp
+++ b/gdb/testsuite/gdb.base/call-rt-st.exp
@@ -1,4 +1,4 @@
-# Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
+# Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -173,7 +173,8 @@ if {![gdb_skip_float_test "print print_one_double(*d1)"] && \
}
}
-if ![gdb_skip_stdio_test "print print_two_floats(*f3)"] {
+if {![gdb_skip_float_test "print print_two_floats(*f3)"] && \
+ ![gdb_skip_stdio_test "print print_two_floats(*f3)"] } {
send_gdb "print print_two_floats(*f3)\n"
gdb_expect {
-re ".*Contents of two_floats_t:\[ \r\n\]+-2\\.345000\[ \t]+1\\.000000\[ \r\n\]+.\[0-9\]+ = \{float1 = -2\\.34500003, float2 = 1\}.*$gdb_prompt $" {