From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31738 invoked by alias); 18 Mar 2010 07:17:10 -0000 Received: (qmail 31730 invoked by uid 22791); 18 Mar 2010 07:17:10 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Mar 2010 07:17:05 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 644D21B40C8; Thu, 18 Mar 2010 07:17:03 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Cc: Jie Zhang Subject: [PATCH] gdb: tests: skip call-ar-st when noinferiorio Date: Thu, 18 Mar 2010 07:17:00 -0000 Message-Id: <1268896620-5005-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00652.txt.bz2 From: Jie Zhang 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 Signed-off-by: Mike Frysinger --- 2010-03-18 Jie Zhang * 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