From patchwork Thu Jan 12 03:00:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 63020 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 AA3E63942018 for ; Thu, 12 Jan 2023 03:04:05 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from alt-proxy28.mail.unifiedlayer.com (alt-proxy28.mail.unifiedlayer.com [74.220.216.123]) by sourceware.org (Postfix) with ESMTPS id 4A634385B526 for ; Thu, 12 Jan 2023 03:01:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4A634385B526 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 cmgw11.mail.unifiedlayer.com (unknown [10.0.90.126]) by progateway1.mail.pro1.eigbox.com (Postfix) with ESMTP id C3D7A1003F5F9 for ; Thu, 12 Jan 2023 03:01:25 +0000 (UTC) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id FnqHp34s2FxgHFnqHpCGjR; Thu, 12 Jan 2023 03:01:25 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=ePfWMFl1 c=1 sm=1 tr=0 ts=63bf7805 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=RJZgsPtJIbHRCiqL1CQA: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=dLpRViUayqbHg/kdRrt3rnRVcV7czAv4FWvUTenC018=; b=G6c2u2Unf9ImT3g2s9FrAyU1U/ U4S8jEvt5u8KZ6ExyEVr7dizLynlfSdVOsNGsHGqP9cbKH6NxFLnALf6LOaXioe5g7voZCZpaGQAh 9RQwDiwKpzb6HGEGXB0wog7gR; Received: from 97-122-76-186.hlrn.qwest.net ([97.122.76.186]:36770 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 1pFnqH-000liJ-Fe; Wed, 11 Jan 2023 20:01:25 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v2 31/79] Use require support_go_compile Date: Wed, 11 Jan 2023 20:00:04 -0700 Message-Id: <20230112030052.3306113-32-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: 1pFnqH-000liJ-Fe X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-76-186.hlrn.qwest.net (localhost.localdomain) [97.122.76.186]:36770 X-Source-Auth: tom+tromey.com X-Email-Count: 32 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 support_go_compile". --- gdb/testsuite/gdb.go/chan.exp | 3 +-- gdb/testsuite/gdb.go/global-local-var-shadow.exp | 3 +-- gdb/testsuite/gdb.go/handcall.exp | 3 +-- gdb/testsuite/gdb.go/hello.exp | 3 +-- gdb/testsuite/gdb.go/integers.exp | 3 +-- gdb/testsuite/gdb.go/max-depth.exp | 3 +-- gdb/testsuite/gdb.go/methods.exp | 3 +-- gdb/testsuite/gdb.go/package.exp | 3 +-- gdb/testsuite/gdb.go/strings.exp | 3 +-- gdb/testsuite/gdb.go/types.exp | 3 +-- gdb/testsuite/gdb.go/unsafe.exp | 3 +-- 11 files changed, 11 insertions(+), 22 deletions(-) diff --git a/gdb/testsuite/gdb.go/chan.exp b/gdb/testsuite/gdb.go/chan.exp index cca903296fb..075d9f81908 100644 --- a/gdb/testsuite/gdb.go/chan.exp +++ b/gdb/testsuite/gdb.go/chan.exp @@ -20,8 +20,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/global-local-var-shadow.exp b/gdb/testsuite/gdb.go/global-local-var-shadow.exp index 8bede6b3c2d..8513c5530a5 100644 --- a/gdb/testsuite/gdb.go/global-local-var-shadow.exp +++ b/gdb/testsuite/gdb.go/global-local-var-shadow.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/handcall.exp b/gdb/testsuite/gdb.go/handcall.exp index f132a150e1b..530bddff140 100644 --- a/gdb/testsuite/gdb.go/handcall.exp +++ b/gdb/testsuite/gdb.go/handcall.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/hello.exp b/gdb/testsuite/gdb.go/hello.exp index 6975252bbbb..5f7da349fe5 100644 --- a/gdb/testsuite/gdb.go/hello.exp +++ b/gdb/testsuite/gdb.go/hello.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/integers.exp b/gdb/testsuite/gdb.go/integers.exp index 1bd1c1ed981..7c06d0584ed 100644 --- a/gdb/testsuite/gdb.go/integers.exp +++ b/gdb/testsuite/gdb.go/integers.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/max-depth.exp b/gdb/testsuite/gdb.go/max-depth.exp index 78a4c414763..8fa967c5d29 100644 --- a/gdb/testsuite/gdb.go/max-depth.exp +++ b/gdb/testsuite/gdb.go/max-depth.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/methods.exp b/gdb/testsuite/gdb.go/methods.exp index 221bf3ee804..f641c1cf0db 100644 --- a/gdb/testsuite/gdb.go/methods.exp +++ b/gdb/testsuite/gdb.go/methods.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/package.exp b/gdb/testsuite/gdb.go/package.exp index 247f21b6c39..8c64d2c7d86 100644 --- a/gdb/testsuite/gdb.go/package.exp +++ b/gdb/testsuite/gdb.go/package.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile package1.go package2.go diff --git a/gdb/testsuite/gdb.go/strings.exp b/gdb/testsuite/gdb.go/strings.exp index 2be756a2c47..1bca7146db4 100644 --- a/gdb/testsuite/gdb.go/strings.exp +++ b/gdb/testsuite/gdb.go/strings.exp @@ -17,8 +17,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/types.exp b/gdb/testsuite/gdb.go/types.exp index 992f5cbd3f4..22656f2174d 100644 --- a/gdb/testsuite/gdb.go/types.exp +++ b/gdb/testsuite/gdb.go/types.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/gdb.go/unsafe.exp b/gdb/testsuite/gdb.go/unsafe.exp index 9b5c26eb185..5a2bf32fcf5 100644 --- a/gdb/testsuite/gdb.go/unsafe.exp +++ b/gdb/testsuite/gdb.go/unsafe.exp @@ -19,8 +19,7 @@ load_lib "go.exp" -require !skip_go_tests -if { [support_go_compile] == 0 } { continue } +require !skip_go_tests support_go_compile standard_testfile .go