This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] gdb: tests: skip call-ar-st when noinferiorio
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Cc: Jie Zhang <jie at codesourcery dot com>
- Date: Thu, 18 Mar 2010 03:17:00 -0400
- Subject: [PATCH] gdb: tests: skip call-ar-st when noinferiorio
From: Jie Zhang <jie@codesourcery.com>
If the target cannot do input/output, skip the call-ar-st test. For
example, testing via rsh/gdbserver cannot support this since the stdio
is not accessible via the host gdb.
Signed-off-by: Jie Zhang <jie@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
2010-03-18 Jie Zhang <jie@codesourcery.com>
* gdb.base/call-ar-st.exp: Return if target has noinferiorio set.
gdb/testsuite/gdb.base/call-ar-st.exp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/gdb/testsuite/gdb.base/call-ar-st.exp b/gdb/testsuite/gdb.base/call-ar-st.exp
index 40ed86c..81cc419 100644
--- a/gdb/testsuite/gdb.base/call-ar-st.exp
+++ b/gdb/testsuite/gdb.base/call-ar-st.exp
@@ -46,6 +46,11 @@ if [get_compiler_info ${binfile}] {
return -1;
}
+if [target_info exists gdb,noinferiorio] {
+ untested "skipping call-ar-st.exp because of noinferiorio."
+ return -1
+}
+
# Some targets can't call functions, so don't even bother with this
# test.
if [target_info exists gdb,cannot_call_functions] {
--
1.7.0.2