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

gdb/testsuite/gdb.dlang/circular.exp
gdb/testsuite/gdb.dlang/debug-expr.exp
gdb/testsuite/gdb.dlang/demangle.exp
gdb/testsuite/gdb.dlang/expression.exp
gdb/testsuite/gdb.dlang/primitive-types.exp
gdb/testsuite/gdb.dlang/properties.exp
gdb/testsuite/gdb.dlang/watch-loc.exp
gdb/testsuite/lib/gdb.exp

index e2b0b8ad6919b8c9fdcf9f1604e727c8146f5347..2c54c5c72a4f567329b866550ef789c173ae5eef 100644 (file)
@@ -18,7 +18,7 @@
 load_lib "d-support.exp"
 load_lib "dwarf.exp"
 
-require !skip_d_tests dwarf2_support
+require allow_d_tests dwarf2_support
 
 standard_testfile circular.c circular-dw.S
 
index aa5770080fca370f4cf9d52af5f1949d5653ebc3..4f3c63eab777ca6582cd1d4016d2d6feeb816df5 100644 (file)
@@ -15,7 +15,7 @@
 
 # Test "set debug expr 1" on d expressions.
 
-require !skip_d_tests
+require allow_d_tests
 
 gdb_start
 gdb_test_no_output "set language d"
index 23b2149974d59d8d408b50ad8668b093b27679e9..111042cbe7819dd766b22d41fc695d8c955d85f2 100644 (file)
@@ -19,7 +19,7 @@
 
 load_lib "d-support.exp"
 
-require !skip_d_tests
+require allow_d_tests
 
 ### Utility function for test_demangling and test_demangling_exact.
 proc test_demangling {test result} {
index 3e82ad90deb92311345c429bcdac42b6b655e9c2..2f80b3390a053610e1b020b60e8cb6e1b067abe4 100644 (file)
@@ -18,7 +18,7 @@
 
 load_lib "d-support.exp"
 
-require !skip_d_tests
+require allow_d_tests
 
 proc test_d_integer_literals {} {
     # Test valid D integer literals are accepted.
index 7a114fc020f92a89adacd6b8f6e3869a1924e9df..3fd6d2d6e4139e7929ebcbd1ad0baf2cd2ec7657 100644 (file)
@@ -18,7 +18,7 @@
 
 load_lib "d-support.exp"
 
-require !skip_d_tests
+require allow_d_tests
 
 proc test_builtin_d_types_accepted {} {
     # Test types are recognised.
index 9164ce8ee5d5eeec2832ae7365a48c64713ab592..474c18b31778a48ca6d6029a5801b4c49c110c7f 100644 (file)
@@ -18,7 +18,7 @@
 
 load_lib "d-support.exp"
 
-require !skip_d_tests
+require allow_d_tests
 
 proc test_d_sizeof {} {
     # Test use of .sizeof with types and expressions.
index 4b240b13fcfc07f74155d8093c99dbc1d7a9fdc6..6ac99778f9c1fe08264b2fd7fbe6bfdba3a31d7d 100644 (file)
@@ -18,7 +18,7 @@
 load_lib "d-support.exp"
 load_lib "dwarf.exp"
 
-require !skip_d_tests dwarf2_support
+require allow_d_tests dwarf2_support
 
 standard_testfile watch-loc.c watch-loc-dw.S
 
index edf26e7b99932a7c507d26c800f6a25dad7690a0..6334314fd8727311ec3401977b51cfb414da2a5f 100644 (file)
@@ -2421,10 +2421,10 @@ proc skip_go_tests {} {
     return 0
 }
 
-# Return a 1 if I don't even want to try to test D.
+# Return a 1 if I even want to try to test D.
 
-proc skip_d_tests {} {
-    return 0
+proc allow_d_tests {} {
+    return 1
 }
 
 # Return 1 to skip Rust tests, 0 to try them.