diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-08 10:54:46 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:57 -0700 |
commit | b63724b8c2840302e498ce45298d361d6e57b4b9 (patch) | |
tree | 39bbb8a1017aac05b62e6472ff0c22fd7a94f294 | |
parent | cadfc59b0d721599b32fab6eeaba401360602e0f (diff) | |
download | gdb-b63724b8c2840302e498ce45298d361d6e57b4b9.zip gdb-b63724b8c2840302e498ce45298d361d6e57b4b9.tar.gz gdb-b63724b8c2840302e498ce45298d361d6e57b4b9.tar.bz2 |
Rename to allow_go_tests
This changes skip_go_tests to invert the sense, and renames it to
allow_go_tests.
-rw-r--r-- | gdb/testsuite/gdb.go/basic-types.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/chan.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/global-local-var-shadow.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/handcall.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/hello.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/integers.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/max-depth.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/methods.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/package.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/print.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/strings.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/types.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.go/unsafe.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 6 | ||||
-rw-r--r-- | 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/basic-types.exp index c1009f9..ce56ba4 100644 --- a/gdb/testsuite/gdb.go/basic-types.exp +++ b/gdb/testsuite/gdb.go/basic-types.exp @@ -20,7 +20,7 @@ load_lib "go.exp" -require !skip_go_tests +require allow_go_tests 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 075d9f8..fcb45cb 100644 --- a/gdb/testsuite/gdb.go/chan.exp +++ b/gdb/testsuite/gdb.go/chan.exp @@ -20,7 +20,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 8513c55..be3e23e 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 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 530bddf..9eb6077 100644 --- a/gdb/testsuite/gdb.go/handcall.exp +++ b/gdb/testsuite/gdb.go/handcall.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 5f7da34..494d2b9 100644 --- a/gdb/testsuite/gdb.go/hello.exp +++ b/gdb/testsuite/gdb.go/hello.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 7c06d05..e9413d0 100644 --- a/gdb/testsuite/gdb.go/integers.exp +++ b/gdb/testsuite/gdb.go/integers.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 8fa967c..17f4f45 100644 --- a/gdb/testsuite/gdb.go/max-depth.exp +++ b/gdb/testsuite/gdb.go/max-depth.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 f641c1c..bd7a2e9 100644 --- a/gdb/testsuite/gdb.go/methods.exp +++ b/gdb/testsuite/gdb.go/methods.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 8c64d2c..33e7de6 100644 --- a/gdb/testsuite/gdb.go/package.exp +++ b/gdb/testsuite/gdb.go/package.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_go_tests support_go_compile standard_testfile package1.go package2.go diff --git a/gdb/testsuite/gdb.go/print.exp b/gdb/testsuite/gdb.go/print.exp index 0c1f0ed..893fa30 100644 --- a/gdb/testsuite/gdb.go/print.exp +++ b/gdb/testsuite/gdb.go/print.exp @@ -20,7 +20,7 @@ load_lib "go.exp" -require !skip_go_tests +require allow_go_tests proc test_float_accepted {} { global gdb_prompt diff --git a/gdb/testsuite/gdb.go/strings.exp b/gdb/testsuite/gdb.go/strings.exp index 1bca714..6e98eaa 100644 --- a/gdb/testsuite/gdb.go/strings.exp +++ b/gdb/testsuite/gdb.go/strings.exp @@ -17,7 +17,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 22656f2..5aa93ac 100644 --- a/gdb/testsuite/gdb.go/types.exp +++ b/gdb/testsuite/gdb.go/types.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_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 5a2bf32..3957814 100644 --- a/gdb/testsuite/gdb.go/unsafe.exp +++ b/gdb/testsuite/gdb.go/unsafe.exp @@ -19,7 +19,7 @@ load_lib "go.exp" -require !skip_go_tests support_go_compile +require allow_go_tests support_go_compile standard_testfile .go diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 6985f72..f3f0bfa 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2415,10 +2415,10 @@ proc allow_ada_tests {} { return 1 } -# 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. -proc skip_go_tests {} { - return 0 +proc allow_go_tests {} { + return 1 } # 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 21d71ce..5b694bd 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 <http://www.gnu.org/licenses/>. -# 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. # Auxiliary function to set the language to Go. |