From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26049 invoked by alias); 13 Dec 2012 19:20:36 -0000 Received: (qmail 26036 invoked by uid 22791); 13 Dec 2012 19:20:33 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Dec 2012 19:20:24 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 13 Dec 2012 19:20:22 +0000 Received: from [10.1.69.62] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 13 Dec 2012 19:20:19 +0000 Message-ID: <50CA2A73.9020100@arm.com> Date: Thu, 13 Dec 2012 19:20:00 -0000 From: Yufeng Zhang User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [patch] Skip gdb.base/kill-after-signal.exp if gdb, nosignals X-MC-Unique: 112121319202200601 Content-Type: multipart/mixed; boundary="------------020209090209060004070701" 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: 2012-12/txt/msg00462.txt.bz2 This is a multi-part message in MIME format. --------------020209090209060004070701 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-length: 442 Hi, This patch adds check to gdb.base/kill-after-signal.exp to skip the test=20 if the board has no support for signals, which is the case in most=20 baremetal environment. This patch follows the existing practice as what=20 had been done to gdb.base/signull.exp,sigbpt.exp,etc. Is it OK? Thanks, Yufeng testsuite/ 2012-12-13 Yufeng Zhang * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.= --------------020209090209060004070701 Content-Type: text/x-patch; name=test-add-nosignals-check.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="test-add-nosignals-check.patch" Content-length: 526 diff --git a/gdb/testsuite/gdb.base/kill-after-signal.exp b/gdb/testsuite/g= db.base/kill-after-signal.exp index 7b70510..91eec2d 100644 --- a/gdb/testsuite/gdb.base/kill-after-signal.exp +++ b/gdb/testsuite/gdb.base/kill-after-signal.exp @@ -20,6 +20,11 @@ if { ![can_single_step_to_signal_handler] } { return } =20 +if [target_info exists gdb,nosignals] { + verbose "Skipping kill-after-signal.exp because of nosignals." + continue +} + if [prepare_for_testing ${testfile}.exp ${testfile}] { return -1 }= --------------020209090209060004070701--