diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-10-17 20:00:21 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-10-17 20:00:21 +0000 |
commit | 13a5e3b8410e0157f5fb92e53b05a044236087b2 (patch) | |
tree | e17e5925602b0285a748cbbb3f18e7bf5aada300 /gdb/testsuite/gdb.base/ending-run.exp | |
parent | ea5fbc6753ca79362abe58778e172592a4e55479 (diff) | |
download | gdb-13a5e3b8410e0157f5fb92e53b05a044236087b2.zip gdb-13a5e3b8410e0157f5fb92e53b05a044236087b2.tar.gz gdb-13a5e3b8410e0157f5fb92e53b05a044236087b2.tar.bz2 |
2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>
* lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
no floating point support.
(gdb_skip_stdio_test): New proc. Skip test if no stdio support.
* gdb.base/call-ar-st.exp: Use above procs to skip tests.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/call-strs.exp: Ditto.
* gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
* gdb.base/varargs.exp: Skip entire test if no printf support.
* gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
* gdb.base/shlib-call.exp: Skip several tests if no printf support.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/ending-run.exp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index 089a8a5..0a9e92c 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -129,7 +129,13 @@ gdb_expect { # is output from the program. # gdb_test "cont" ".*Breakpoint.*31.*" -gdb_test "next" ".*1 2 7 14 23 34 47 62 79 Goodbye!.*32.*" "Step to return" + +if ![gdb_skip_stdio_test "Step to return"] { + gdb_test "next" ".*1 2 7 14 23 34 47 62 79 Goodbye!.*32.*" \ + "Step to return" +} else { + gdb_test "next" "" "" +} set old_timeout $timeout set timeout 50 |