]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Use require !skip_go_tests
authorTom Tromey <tom@tromey.com>
Tue, 13 Dec 2022 23:11:58 +0000 (16:11 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 13 Jan 2023 20:18:55 +0000 (13:18 -0700)
This changes some tests to use "require !skip_go_tests".

13 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

index b511a5dee62ccd213d586653632c8915e84e093c..c1009f93e8671edf21180a13e996a20927e9ed4f 100644 (file)
@@ -20,7 +20,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 
 proc test_integer_literal_types_accepted {} {
     # Test various decimal values.
index ea01b2c3d077404397cfa9f10acc3cf313eab467..cca903296fb9550ae871766e97b835c5b0f7cf49 100644 (file)
@@ -20,7 +20,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index 21c808750a9864ed8c5e8a7a14da14befb1402f0..8bede6b3c2d2b920ab9836e41d712ca97e8372f0 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index 04cb0c20c8349e9b46024c36856527db5efa7845..f132a150e1bcee75f9730041d1b686545cae71ab 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index 2c278b849b3c15f0c5bbf8261ba2879ec35ba828..6975252bbbb3e1f25c5fd67fe10e9138d6976158 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index b8c9eb8c9068cae42c41553e30037d3d26b2622d..1bd1c1ed98154f026d68e89da2546b662865de8a 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index ae6ff2b0063bdf923eb370caefbac8df62f91a86..78a4c414763eacd2a9398ec24eb4e791816af821 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index 5cf5c57d9a066d358c56c48514d9af84cf649a0d..221bf3ee8047162f5a4a9d129a0a0e64f0574a6e 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index 166e382a20a675bcda1f0542cadcf999a3187174..247f21b6c396d5d2d345ad96d9827a4682020e84 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile package1.go package2.go
index 20126f656f780513480a7f74192f5950ebc3382a..0c1f0eda98f5afd411a5001286bf4b578cd26318 100644 (file)
@@ -20,7 +20,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 
 proc test_float_accepted {} {
     global gdb_prompt
index 157bf7c66207e6599e44ef0c2f0554370b080e61..2be756a2c470863be2ae3da2561d648f9e91e3e1 100644 (file)
@@ -17,7 +17,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index 5b77d654e1037bb4bf85af9e1ad6cf646ac39a0a..992f5cbd3f4135dbf01ccfceb317b78949f4b460 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go
index 8f7c1b2269040f24bb5714346843100df01c3172..9b5c26eb185261eb6932b80e777d75600416a7c3 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "go.exp"
 
-if { [skip_go_tests] } { continue }
+require !skip_go_tests
 if { [support_go_compile] == 0 } { continue }
 
 standard_testfile .go