This changes skip_d_tests to invert the sense, and renames it to
allow_d_tests.
---
gdb/testsuite/gdb.dlang/circular.exp | 2 +-
gdb/testsuite/gdb.dlang/debug-expr.exp | 2 +-
gdb/testsuite/gdb.dlang/demangle.exp | 2 +-
gdb/testsuite/gdb.dlang/expression.exp | 2 +-
gdb/testsuite/gdb.dlang/primitive-types.exp | 2 +-
gdb/testsuite/gdb.dlang/properties.exp | 2 +-
gdb/testsuite/gdb.dlang/watch-loc.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 6 +++---
8 files changed, 10 insertions(+), 10 deletions(-)
@@ -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
@@ -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"
@@ -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} {
@@ -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.
@@ -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.
@@ -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.
@@ -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
@@ -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.