From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id DDB423858C39; Fri, 13 Jan 2023 20:39:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DDB423858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642360; bh=/+V4W4GuXxoLYv2FgNvpSY3y46VGRi/P72fn65EbXsQ=; h=From:To:Subject:Date:From; b=Gf5nPOa2/lYxJdiPWwVX5O/tGLN1Kt6FP+jzjsJJsNx8HcMWD0vTbWcsJJfCgWCjQ Xi32F/5xzz3EiaG2YEjqKso+Ksph9PNjPy3Bd5f2E22pCQQZvRvi6PJNfBu6bo2Xfd NWFdFEsmCD6aU13KvW4W1Lwk+EmbhXPXQrgXR01E= 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] Rename to allow_go_tests X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: cadfc59b0d721599b32fab6eeaba401360602e0f X-Git-Newrev: b63724b8c2840302e498ce45298d361d6e57b4b9 Message-Id: <20230113203920.DDB423858C39@sourceware.org> Date: Fri, 13 Jan 2023 20:39:20 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db63724b8c284= 0302e498ce45298d361d6e57b4b9 commit b63724b8c2840302e498ce45298d361d6e57b4b9 Author: Tom Tromey Date: Sun Jan 8 10:54:46 2023 -0700 Rename to allow_go_tests =20 This changes skip_go_tests to invert the sense, and renames it to allow_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 +- gdb/testsuite/lib/gdb.exp | 6 +++--- gdb/testsuite/lib/go.exp | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/gdb/testsuite/gdb.go/basic-types.exp b/gdb/testsuite/gdb.go/ba= sic-types.exp index c1009f93e86..ce56ba4a681 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 -require !skip_go_tests +require allow_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 075d9f81908..fcb45cb9ab5 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 -require !skip_go_tests support_go_compile +require allow_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 8513c5530a5..be3e23ed29b 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 -require !skip_go_tests support_go_compile +require allow_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 530bddff140..9eb6077a056 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 -require !skip_go_tests support_go_compile +require allow_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 5f7da349fe5..494d2b9d843 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 -require !skip_go_tests support_go_compile +require allow_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 7c06d0584ed..e9413d047f7 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 -require !skip_go_tests support_go_compile +require allow_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 8fa967c5d29..17f4f450d49 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 -require !skip_go_tests support_go_compile +require allow_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 f641c1cf0db..bd7a2e99b59 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 -require !skip_go_tests support_go_compile +require allow_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 8c64d2c7d86..33e7de65c11 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 -require !skip_go_tests support_go_compile +require allow_go_tests support_go_compile =20 standard_testfile package1.go package2.go =20 diff --git a/gdb/testsuite/gdb.go/print.exp b/gdb/testsuite/gdb.go/print.exp index 0c1f0eda98f..893fa30e7be 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 -require !skip_go_tests +require allow_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 1bca7146db4..6e98eaab619 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 -require !skip_go_tests support_go_compile +require allow_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 22656f2174d..5aa93acfdfd 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 -require !skip_go_tests support_go_compile +require allow_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 5a2bf32fcf5..3957814f2fb 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 -require !skip_go_tests support_go_compile +require allow_go_tests support_go_compile =20 standard_testfile .go =20 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 6985f721515..f3f0bfac762 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2415,10 +2415,10 @@ proc allow_ada_tests {} { return 1 } =20 -# Return a 1 if I don't even want to try to test GO. +# Return a 1 if I want to try to test GO. =20 -proc skip_go_tests {} { - return 0 +proc allow_go_tests {} { + return 1 } =20 # Return a 1 if I even want to try to test D. diff --git a/gdb/testsuite/lib/go.exp b/gdb/testsuite/lib/go.exp index 21d71ce06df..5b694bda096 100644 --- a/gdb/testsuite/lib/go.exp +++ b/gdb/testsuite/lib/go.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . =20 -# FIXME: Presumably skip_go_tests should be defined here, +# FIXME: Presumably allow_go_tests should be defined here, # but for consistency with other languages it currently lives in gdb.exp. =20 # Auxiliary function to set the language to Go.