From patchwork Thu Jan 12 03:00:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 63048 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3B5AC38A8175 for ; Thu, 12 Jan 2023 03:06:45 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from gproxy1-pub.mail.unifiedlayer.com (gproxy1-pub.mail.unifiedlayer.com [69.89.25.95]) by sourceware.org (Postfix) with ESMTPS id AAA443881D1D for ; Thu, 12 Jan 2023 03:01:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AAA443881D1D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from cmgw10.mail.unifiedlayer.com (unknown [10.0.90.125]) by progateway3.mail.pro1.eigbox.com (Postfix) with ESMTP id 2F0C210048575 for ; Thu, 12 Jan 2023 03:01:32 +0000 (UTC) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id FnqOplLoRLXXpFnqOp4kN6; Thu, 12 Jan 2023 03:01:32 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=KvyIZUaN c=1 sm=1 tr=0 ts=63bf780c a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=RvmDmJFTN0MA:10:nop_rcvd_month_year a=Qbun_eYptAEA:10:endurance_base64_authed_username_1 a=DhmBZEKRe8KaYOr6KCsA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Fvvd/Y3w5a1LZekWmIc1pxz7oFQNacwd6jUEhL275cY=; b=aKZI2Zj0vl1NUet6Nif4gZUSfv FLBFBLm7BqfYosDNpu/HeCuS/UvDZSXsKyrN8eJEwUMPFE/gQp/y78xDJAJ+gf+2BBdYR1NOexeeb TGmi5UC8Ue40VXoNt/eCQXgSu; Received: from 97-122-76-186.hlrn.qwest.net ([97.122.76.186]:38160 helo=localhost.localdomain) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pFnqN-000lq2-TW; Wed, 11 Jan 2023 20:01:31 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v2 46/79] Use require gnat_runtime_has_debug_info Date: Wed, 11 Jan 2023 20:00:19 -0700 Message-Id: <20230112030052.3306113-47-tom@tromey.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230112030052.3306113-1-tom@tromey.com> References: <20230112030052.3306113-1-tom@tromey.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.76.186 X-Source-L: No X-Exim-ID: 1pFnqN-000lq2-TW X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-76-186.hlrn.qwest.net (localhost.localdomain) [97.122.76.186]:38160 X-Source-Auth: tom+tromey.com X-Email-Count: 47 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-3028.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" This changes some tests to use "require gnat_runtime_has_debug_info". --- gdb/testsuite/gdb.ada/dynamic-iface.exp | 5 +---- gdb/testsuite/gdb.ada/interface.exp | 5 +---- gdb/testsuite/gdb.ada/iwide.exp | 5 +---- gdb/testsuite/gdb.ada/mi_interface.exp | 5 +---- gdb/testsuite/gdb.ada/tagged.exp | 5 +---- gdb/testsuite/gdb.ada/tagged_access.exp | 5 +---- 6 files changed, 6 insertions(+), 24 deletions(-) diff --git a/gdb/testsuite/gdb.ada/dynamic-iface.exp b/gdb/testsuite/gdb.ada/dynamic-iface.exp index 13e93966819..d4d7ba45ab4 100644 --- a/gdb/testsuite/gdb.ada/dynamic-iface.exp +++ b/gdb/testsuite/gdb.ada/dynamic-iface.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile main diff --git a/gdb/testsuite/gdb.ada/interface.exp b/gdb/testsuite/gdb.ada/interface.exp index c1b2bf87e15..93a0bd5e8b6 100644 --- a/gdb/testsuite/gdb.ada/interface.exp +++ b/gdb/testsuite/gdb.ada/interface.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile foo diff --git a/gdb/testsuite/gdb.ada/iwide.exp b/gdb/testsuite/gdb.ada/iwide.exp index 89386c5a851..40c45d88117 100644 --- a/gdb/testsuite/gdb.ada/iwide.exp +++ b/gdb/testsuite/gdb.ada/iwide.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile p diff --git a/gdb/testsuite/gdb.ada/mi_interface.exp b/gdb/testsuite/gdb.ada/mi_interface.exp index 88829faf457..50e6df7851f 100644 --- a/gdb/testsuite/gdb.ada/mi_interface.exp +++ b/gdb/testsuite/gdb.ada/mi_interface.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile foo diff --git a/gdb/testsuite/gdb.ada/tagged.exp b/gdb/testsuite/gdb.ada/tagged.exp index bbefa8d966d..319252922af 100644 --- a/gdb/testsuite/gdb.ada/tagged.exp +++ b/gdb/testsuite/gdb.ada/tagged.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile foo diff --git a/gdb/testsuite/gdb.ada/tagged_access.exp b/gdb/testsuite/gdb.ada/tagged_access.exp index 17e5f6d971e..69eb6702b25 100644 --- a/gdb/testsuite/gdb.ada/tagged_access.exp +++ b/gdb/testsuite/gdb.ada/tagged_access.exp @@ -17,10 +17,7 @@ load_lib "ada.exp" require !skip_ada_tests -if {![gnat_runtime_has_debug_info]} { - untested "GNAT runtime debuginfo required for this test" - return -1 -} +require gnat_runtime_has_debug_info standard_ada_testfile p