From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 6619C3858C39; Fri, 13 Jan 2023 20:36:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6619C3858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642188; bh=pXfMlV7RBhJcFsGrfTgIogEjMaV2dj7e0C04fb0hi+Q=; h=From:To:Subject:Date:From; b=HOm4aptuxSpF9onrPWMSPAfqpmMEuuV87UmB6NZGVEQZ4RtNPMdcVR4bID+vaMczB XvaHr44ABDwXjvMsVNfGohHRsDebCa3Ovljs0GMbIX+QFexOL/86BirE6kQl4izB9A TDYvefINB/3th4F20PX7lyewsdZ+m3o3FTa6gGBY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Use require support_go_compile X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 5f3ef82813891f87dc1d34453e3f0ddc045b30f8 X-Git-Newrev: 1b1f4ab760127c31d520811e2858277bb7f651e2 Message-Id: <20230113203628.6619C3858C39@sourceware.org> Date: Fri, 13 Jan 2023 20:36:28 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D1b1f4ab76012= 7c31d520811e2858277bb7f651e2 commit 1b1f4ab760127c31d520811e2858277bb7f651e2 Author: Tom Tromey Date: Wed Dec 14 09:54:00 2022 -0700 Use require support_go_compile =20 This changes some tests to use "require support_go_compile". Diff: --- 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 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 diff --git a/gdb/testsuite/gdb.go/global-local-var-shadow.exp b/gdb/testsui= te/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 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 diff --git a/gdb/testsuite/gdb.go/handcall.exp b/gdb/testsuite/gdb.go/handc= all.exp index f132a150e1b..530bddff140 100644 --- a/gdb/testsuite/gdb.go/handcall.exp +++ b/gdb/testsuite/gdb.go/handcall.exp @@ -19,8 +19,7 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 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 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 diff --git a/gdb/testsuite/gdb.go/integers.exp b/gdb/testsuite/gdb.go/integ= ers.exp index 1bd1c1ed981..7c06d0584ed 100644 --- a/gdb/testsuite/gdb.go/integers.exp +++ b/gdb/testsuite/gdb.go/integers.exp @@ -19,8 +19,7 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 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 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 diff --git a/gdb/testsuite/gdb.go/methods.exp b/gdb/testsuite/gdb.go/method= s.exp index 221bf3ee804..f641c1cf0db 100644 --- a/gdb/testsuite/gdb.go/methods.exp +++ b/gdb/testsuite/gdb.go/methods.exp @@ -19,8 +19,7 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 diff --git a/gdb/testsuite/gdb.go/package.exp b/gdb/testsuite/gdb.go/packag= e.exp index 247f21b6c39..8c64d2c7d86 100644 --- a/gdb/testsuite/gdb.go/package.exp +++ b/gdb/testsuite/gdb.go/package.exp @@ -19,8 +19,7 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile package1.go package2.go =20 diff --git a/gdb/testsuite/gdb.go/strings.exp b/gdb/testsuite/gdb.go/string= s.exp index 2be756a2c47..1bca7146db4 100644 --- a/gdb/testsuite/gdb.go/strings.exp +++ b/gdb/testsuite/gdb.go/strings.exp @@ -17,8 +17,7 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 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 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go =20 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 @@ =20 load_lib "go.exp" =20 -require !skip_go_tests -if { [support_go_compile] =3D=3D 0 } { continue } +require !skip_go_tests support_go_compile =20 standard_testfile .go