From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 41A73385783F; Fri, 13 Jan 2023 20:35:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41A73385783F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642107; bh=0zXKkaUoczxaoV6BXiif94bap1MkzE+S16vQV9H6fYw=; h=From:To:Subject:Date:From; b=E/L3jbJsJexRMGbWV31qfX5ea98CcV5eoIcfbTH6xSPdUE4zFXGu64Hxy33mivOID peLC/a0ONbfZheyhXBXP/EcAIaGB4qjGg6eJTMoPsCe6GO7NsoNRWOM39mL5MWP3Mc NuEcj8F3jhKxniwtS/L8LGihfVF1YDqr8yHbf5Lo= 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 !skip_go_tests X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: d3f81254e570511c2c5a4428d4cc5e6758fc9ab3 X-Git-Newrev: 0c2a02481ab6fe27412b6d2004c59c6f33677848 Message-Id: <20230113203507.41A73385783F@sourceware.org> Date: Fri, 13 Jan 2023 20:35:07 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D0c2a02481ab6= fe27412b6d2004c59c6f33677848 commit 0c2a02481ab6fe27412b6d2004c59c6f33677848 Author: Tom Tromey Date: Tue Dec 13 16:11:58 2022 -0700 Use require !skip_go_tests =20 This changes some tests to use "require !skip_go_tests". Diff: --- gdb/testsuite/gdb.go/basic-types.exp | 2 +- gdb/testsuite/gdb.go/chan.exp | 2 +- gdb/testsuite/gdb.go/global-local-var-shadow.exp | 2 +- gdb/testsuite/gdb.go/handcall.exp | 2 +- gdb/testsuite/gdb.go/hello.exp | 2 +- gdb/testsuite/gdb.go/integers.exp | 2 +- gdb/testsuite/gdb.go/max-depth.exp | 2 +- gdb/testsuite/gdb.go/methods.exp | 2 +- gdb/testsuite/gdb.go/package.exp | 2 +- gdb/testsuite/gdb.go/print.exp | 2 +- gdb/testsuite/gdb.go/strings.exp | 2 +- gdb/testsuite/gdb.go/types.exp | 2 +- gdb/testsuite/gdb.go/unsafe.exp | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gdb/testsuite/gdb.go/basic-types.exp b/gdb/testsuite/gdb.go/ba= sic-types.exp index b511a5dee62..c1009f93e86 100644 --- a/gdb/testsuite/gdb.go/basic-types.exp +++ b/gdb/testsuite/gdb.go/basic-types.exp @@ -20,7 +20,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests =20 proc test_integer_literal_types_accepted {} { # Test various decimal values. diff --git a/gdb/testsuite/gdb.go/chan.exp b/gdb/testsuite/gdb.go/chan.exp index ea01b2c3d07..cca903296fb 100644 --- a/gdb/testsuite/gdb.go/chan.exp +++ b/gdb/testsuite/gdb.go/chan.exp @@ -20,7 +20,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/global-local-var-shadow.exp b/gdb/testsui= te/gdb.go/global-local-var-shadow.exp index 21c808750a9..8bede6b3c2d 100644 --- a/gdb/testsuite/gdb.go/global-local-var-shadow.exp +++ b/gdb/testsuite/gdb.go/global-local-var-shadow.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/handcall.exp b/gdb/testsuite/gdb.go/handc= all.exp index 04cb0c20c83..f132a150e1b 100644 --- a/gdb/testsuite/gdb.go/handcall.exp +++ b/gdb/testsuite/gdb.go/handcall.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/hello.exp b/gdb/testsuite/gdb.go/hello.exp index 2c278b849b3..6975252bbbb 100644 --- a/gdb/testsuite/gdb.go/hello.exp +++ b/gdb/testsuite/gdb.go/hello.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/integers.exp b/gdb/testsuite/gdb.go/integ= ers.exp index b8c9eb8c906..1bd1c1ed981 100644 --- a/gdb/testsuite/gdb.go/integers.exp +++ b/gdb/testsuite/gdb.go/integers.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/max-depth.exp b/gdb/testsuite/gdb.go/max-= depth.exp index ae6ff2b0063..78a4c414763 100644 --- a/gdb/testsuite/gdb.go/max-depth.exp +++ b/gdb/testsuite/gdb.go/max-depth.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/methods.exp b/gdb/testsuite/gdb.go/method= s.exp index 5cf5c57d9a0..221bf3ee804 100644 --- a/gdb/testsuite/gdb.go/methods.exp +++ b/gdb/testsuite/gdb.go/methods.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/package.exp b/gdb/testsuite/gdb.go/packag= e.exp index 166e382a20a..247f21b6c39 100644 --- a/gdb/testsuite/gdb.go/package.exp +++ b/gdb/testsuite/gdb.go/package.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile package1.go package2.go diff --git a/gdb/testsuite/gdb.go/print.exp b/gdb/testsuite/gdb.go/print.exp index 20126f656f7..0c1f0eda98f 100644 --- a/gdb/testsuite/gdb.go/print.exp +++ b/gdb/testsuite/gdb.go/print.exp @@ -20,7 +20,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests =20 proc test_float_accepted {} { global gdb_prompt diff --git a/gdb/testsuite/gdb.go/strings.exp b/gdb/testsuite/gdb.go/string= s.exp index 157bf7c6620..2be756a2c47 100644 --- a/gdb/testsuite/gdb.go/strings.exp +++ b/gdb/testsuite/gdb.go/strings.exp @@ -17,7 +17,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/types.exp b/gdb/testsuite/gdb.go/types.exp index 5b77d654e10..992f5cbd3f4 100644 --- a/gdb/testsuite/gdb.go/types.exp +++ b/gdb/testsuite/gdb.go/types.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go diff --git a/gdb/testsuite/gdb.go/unsafe.exp b/gdb/testsuite/gdb.go/unsafe.= exp index 8f7c1b22690..9b5c26eb185 100644 --- a/gdb/testsuite/gdb.go/unsafe.exp +++ b/gdb/testsuite/gdb.go/unsafe.exp @@ -19,7 +19,7 @@ =20 load_lib "go.exp" =20 -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] =3D=3D 0 } { continue } =20 standard_testfile .go