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/varargs.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/varargs.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/varargs.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/varargs.exp b/gdb/testsuite/gdb.base/varargs.exp index 2fb8f3b..f440f47 100644 --- a/gdb/testsuite/gdb.base/varargs.exp +++ b/gdb/testsuite/gdb.base/varargs.exp @@ -69,6 +69,10 @@ 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 $" +if [gdb_skip_stdio_test "varargs.exp"] { + # Nothing in this module is testable without printf. + return; +} if ![runto_main] then { perror "couldn't run to breakpoint" |