public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Use require support_go_compile Date: Fri, 13 Jan 2023 20:36:28 +0000 (GMT) [thread overview] Message-ID: <20230113203628.6619C3858C39@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1b1f4ab760127c31d520811e2858277bb7f651e2 commit 1b1f4ab760127c31d520811e2858277bb7f651e2 Author: Tom Tromey <tom@tromey.com> Date: Wed Dec 14 09:54:00 2022 -0700 Use require support_go_compile 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 @@ 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
reply other threads:[~2023-01-13 20:36 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230113203628.6619C3858C39@sourceware.org \ --to=tromey@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).