diff options
author | Tom Tromey <tom@tromey.com> | 2022-12-13 16:11:58 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:55 -0700 |
commit | 0c2a02481ab6fe27412b6d2004c59c6f33677848 (patch) | |
tree | 2bf975c12466e01668aa76e709078d598db9207a | |
parent | d3f81254e570511c2c5a4428d4cc5e6758fc9ab3 (diff) | |
download | gdb-0c2a02481ab6fe27412b6d2004c59c6f33677848.zip gdb-0c2a02481ab6fe27412b6d2004c59c6f33677848.tar.gz gdb-0c2a02481ab6fe27412b6d2004c59c6f33677848.tar.bz2 |
Use require !skip_go_tests
This changes some tests to use "require !skip_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 |
13 files changed, 13 insertions, 13 deletions
diff --git a/gdb/testsuite/gdb.go/basic-types.exp b/gdb/testsuite/gdb.go/basic-types.exp index b511a5d..c1009f9 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" -if { [skip_go_tests] } { continue } +require !skip_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 ea01b2c..cca9032 100644 --- a/gdb/testsuite/gdb.go/chan.exp +++ b/gdb/testsuite/gdb.go/chan.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/global-local-var-shadow.exp b/gdb/testsuite/gdb.go/global-local-var-shadow.exp index 21c8087..8bede6b 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" -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] == 0 } { continue } standard_testfile .go diff --git a/gdb/testsuite/gdb.go/handcall.exp b/gdb/testsuite/gdb.go/handcall.exp index 04cb0c2..f132a15 100644 --- a/gdb/testsuite/gdb.go/handcall.exp +++ b/gdb/testsuite/gdb.go/handcall.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/hello.exp b/gdb/testsuite/gdb.go/hello.exp index 2c278b8..6975252 100644 --- a/gdb/testsuite/gdb.go/hello.exp +++ b/gdb/testsuite/gdb.go/hello.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/integers.exp b/gdb/testsuite/gdb.go/integers.exp index b8c9eb8..1bd1c1e 100644 --- a/gdb/testsuite/gdb.go/integers.exp +++ b/gdb/testsuite/gdb.go/integers.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/max-depth.exp b/gdb/testsuite/gdb.go/max-depth.exp index ae6ff2b..78a4c41 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" -if { [skip_go_tests] } { continue } +require !skip_go_tests if { [support_go_compile] == 0 } { continue } standard_testfile .go diff --git a/gdb/testsuite/gdb.go/methods.exp b/gdb/testsuite/gdb.go/methods.exp index 5cf5c57..221bf3e 100644 --- a/gdb/testsuite/gdb.go/methods.exp +++ b/gdb/testsuite/gdb.go/methods.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/package.exp b/gdb/testsuite/gdb.go/package.exp index 166e382..247f21b 100644 --- a/gdb/testsuite/gdb.go/package.exp +++ b/gdb/testsuite/gdb.go/package.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/print.exp b/gdb/testsuite/gdb.go/print.exp index 20126f6..0c1f0ed 100644 --- a/gdb/testsuite/gdb.go/print.exp +++ b/gdb/testsuite/gdb.go/print.exp @@ -20,7 +20,7 @@ load_lib "go.exp" -if { [skip_go_tests] } { continue } +require !skip_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 157bf7c..2be756a 100644 --- a/gdb/testsuite/gdb.go/strings.exp +++ b/gdb/testsuite/gdb.go/strings.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/types.exp b/gdb/testsuite/gdb.go/types.exp index 5b77d65..992f5cb 100644 --- a/gdb/testsuite/gdb.go/types.exp +++ b/gdb/testsuite/gdb.go/types.exp @@ -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 diff --git a/gdb/testsuite/gdb.go/unsafe.exp b/gdb/testsuite/gdb.go/unsafe.exp index 8f7c1b2..9b5c26e 100644 --- a/gdb/testsuite/gdb.go/unsafe.exp +++ b/gdb/testsuite/gdb.go/unsafe.exp @@ -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 |