From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5426 invoked by alias); 18 Mar 2010 12:39:46 -0000 Received: (qmail 5417 invoked by uid 22791); 18 Mar 2010 12:39:45 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Mar 2010 12:39:42 +0000 Received: (qmail 26230 invoked from network); 18 Mar 2010 12:39:40 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Mar 2010 12:39:40 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH] gdb: tests: skip call-ar-st when noinferiorio Date: Thu, 18 Mar 2010 12:39:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; ) Cc: Mike Frysinger , Jie Zhang References: <1268896620-5005-1-git-send-email-vapier@gentoo.org> In-Reply-To: <1268896620-5005-1-git-send-email-vapier@gentoo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003181239.36970.pedro@codesourcery.com> 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/msg00657.txt.bz2 On Thursday 18 March 2010 07:17:00, Mike Frysinger wrote: > 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. There's a bunch of gdb_skip_stdio_test checks in the test. Why is that not working? > > 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] { > -- Pedro Alves