Rename to allow_go_tests

This changes skip_go_tests to invert the sense, and renames it to
allow_go_tests.
This commit is contained in:
Tom Tromey 2023-01-08 10:54:46 -07:00
parent cadfc59b0d
commit b63724b8c2
15 changed files with 17 additions and 17 deletions

View 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.

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View file

@ -20,7 +20,7 @@
load_lib "go.exp"
require !skip_go_tests
require allow_go_tests
proc test_float_accepted {} {
global gdb_prompt

View 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

View 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

View 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

View 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.

View 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.