Rename to allow_go_tests
authorTom Tromey <tom@tromey.com>
Sun, 8 Jan 2023 17:54:46 +0000 (10:54 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 13 Jan 2023 20:18:57 +0000 (13:18 -0700)
This changes skip_go_tests to invert the sense, and renames it to
allow_go_tests.

15 files changed:
gdb/testsuite/gdb.go/basic-types.exp
gdb/testsuite/gdb.go/chan.exp
gdb/testsuite/gdb.go/global-local-var-shadow.exp
gdb/testsuite/gdb.go/handcall.exp
gdb/testsuite/gdb.go/hello.exp
gdb/testsuite/gdb.go/integers.exp
gdb/testsuite/gdb.go/max-depth.exp
gdb/testsuite/gdb.go/methods.exp
gdb/testsuite/gdb.go/package.exp
gdb/testsuite/gdb.go/print.exp
gdb/testsuite/gdb.go/strings.exp
gdb/testsuite/gdb.go/types.exp
gdb/testsuite/gdb.go/unsafe.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/go.exp

index c1009f93e8671edf21180a13e996a20927e9ed4f..ce56ba4a68183d5fb349e111d8996a4e81b867fd 100644 (file)
@@ -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.
index 075d9f819087a27db8fb428667bc7382e7f245e7..fcb45cb9ab5a52f3ddc24a562c63a108d87588ac 100644 (file)
@@ -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
 
index 8513c5530a55e84f4a7a25ffa46dbbf0e2cadaa3..be3e23ed29b7c8ff37f83e1eabc18b1feef72607 100644 (file)
@@ -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
 
index 530bddff140b84ad2b96ef2b4ea7b609507668a5..9eb6077a05671ed7729c3ba835e4d7c38c9b663a 100644 (file)
@@ -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
 
index 5f7da349fe5c10aab529169b17e536d0c4ee646b..494d2b9d843cd58d867adbfa239bf39a9f1f46c2 100644 (file)
@@ -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
 
index 7c06d0584ed3ef8782dd82c007c9bdf1000c998c..e9413d047f7ac82c31520638cb8d49cac7501a8e 100644 (file)
@@ -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
 
index 8fa967c5d29f9b1aa37b12f0697fc933c34c87c5..17f4f450d4926512ca1989e7bb3d737d3ac52921 100644 (file)
@@ -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
 
index f641c1cf0db1b842c6fcf57087b077bb8e97a12c..bd7a2e99b596891488f4d41278aff0b8bfa20b33 100644 (file)
@@ -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
 
index 8c64d2c7d8691bebfbc2e02ac464e02dfff9a8d3..33e7de65c11769ac5a931215557fcf2c4b486fa5 100644 (file)
@@ -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
 
index 0c1f0eda98f5afd411a5001286bf4b578cd26318..893fa30e7be9a46375b18f398a09b9d5fd24677c 100644 (file)
@@ -20,7 +20,7 @@
 
 load_lib "go.exp"
 
-require !skip_go_tests
+require allow_go_tests
 
 proc test_float_accepted {} {
     global gdb_prompt
index 1bca7146db4419f0af5d43a5c53c8503df57dea4..6e98eaab619e04b5b94f746f56c5f107e40571a6 100644 (file)
@@ -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
 
index 22656f2174dc5a697fa098fe36dcaaf4d08a3251..5aa93acfdfd87686eb06a48aec95a83e59b2cbe6 100644 (file)
@@ -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
 
index 5a2bf32fcf5f5eacb7d2d05f7bb40b5418ef9d7e..3957814f2fb18c3feac89a105c1891402e6ae3ee 100644 (file)
@@ -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
 
index 6985f721515eaf01ee7572d2d4f2bf33e779331e..f3f0bfac76283efadfb8a498f438a1f51664349a 100644 (file)
@@ -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.
index 21d71ce06dfa0f03b69171b80291d21116a790e0..5b694bda0967e80399b0b23e8a9961d1306cd5d2 100644 (file)
@@ -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.