aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-08 10:51:43 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:57 -0700
commitf3864a5bc64c926b469199b24ab750ec375d460b (patch)
tree0a925e2858794b8899d9721742cafa23338d9ff6
parent673deccaac0a585eec10137d0b77b3e93ccd7372 (diff)
downloadgdb-f3864a5bc64c926b469199b24ab750ec375d460b.zip
gdb-f3864a5bc64c926b469199b24ab750ec375d460b.tar.gz
gdb-f3864a5bc64c926b469199b24ab750ec375d460b.tar.bz2
Rename to allow_d_tests
This changes skip_d_tests to invert the sense, and renames it to allow_d_tests.
-rw-r--r--gdb/testsuite/gdb.dlang/circular.exp2
-rw-r--r--gdb/testsuite/gdb.dlang/debug-expr.exp2
-rw-r--r--gdb/testsuite/gdb.dlang/demangle.exp2
-rw-r--r--gdb/testsuite/gdb.dlang/expression.exp2
-rw-r--r--gdb/testsuite/gdb.dlang/primitive-types.exp2
-rw-r--r--gdb/testsuite/gdb.dlang/properties.exp2
-rw-r--r--gdb/testsuite/gdb.dlang/watch-loc.exp2
-rw-r--r--gdb/testsuite/lib/gdb.exp6
8 files changed, 10 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.dlang/circular.exp b/gdb/testsuite/gdb.dlang/circular.exp
index e2b0b8a..2c54c5c 100644
--- a/gdb/testsuite/gdb.dlang/circular.exp
+++ b/gdb/testsuite/gdb.dlang/circular.exp
@@ -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
diff --git a/gdb/testsuite/gdb.dlang/debug-expr.exp b/gdb/testsuite/gdb.dlang/debug-expr.exp
index aa57700..4f3c63e 100644
--- a/gdb/testsuite/gdb.dlang/debug-expr.exp
+++ b/gdb/testsuite/gdb.dlang/debug-expr.exp
@@ -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"
diff --git a/gdb/testsuite/gdb.dlang/demangle.exp b/gdb/testsuite/gdb.dlang/demangle.exp
index 23b2149..111042c 100644
--- a/gdb/testsuite/gdb.dlang/demangle.exp
+++ b/gdb/testsuite/gdb.dlang/demangle.exp
@@ -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} {
diff --git a/gdb/testsuite/gdb.dlang/expression.exp b/gdb/testsuite/gdb.dlang/expression.exp
index 3e82ad9..2f80b33 100644
--- a/gdb/testsuite/gdb.dlang/expression.exp
+++ b/gdb/testsuite/gdb.dlang/expression.exp
@@ -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.
diff --git a/gdb/testsuite/gdb.dlang/primitive-types.exp b/gdb/testsuite/gdb.dlang/primitive-types.exp
index 7a114fc..3fd6d2d 100644
--- a/gdb/testsuite/gdb.dlang/primitive-types.exp
+++ b/gdb/testsuite/gdb.dlang/primitive-types.exp
@@ -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.
diff --git a/gdb/testsuite/gdb.dlang/properties.exp b/gdb/testsuite/gdb.dlang/properties.exp
index 9164ce8..474c18b 100644
--- a/gdb/testsuite/gdb.dlang/properties.exp
+++ b/gdb/testsuite/gdb.dlang/properties.exp
@@ -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.
diff --git a/gdb/testsuite/gdb.dlang/watch-loc.exp b/gdb/testsuite/gdb.dlang/watch-loc.exp
index 4b240b1..6ac99778 100644
--- a/gdb/testsuite/gdb.dlang/watch-loc.exp
+++ b/gdb/testsuite/gdb.dlang/watch-loc.exp
@@ -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
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index edf26e7..6334314 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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.