public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Rename to allow_d_tests Date: Fri, 13 Jan 2023 20:39:05 +0000 (GMT) [thread overview] Message-ID: <20230113203905.A787B38543B3@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f3864a5bc64c926b469199b24ab750ec375d460b commit f3864a5bc64c926b469199b24ab750ec375d460b Author: Tom Tromey <tom@tromey.com> Date: Sun Jan 8 10:51:43 2023 -0700 Rename to allow_d_tests This changes skip_d_tests to invert the sense, and renames it to allow_d_tests. Diff: --- 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(-) diff --git a/gdb/testsuite/gdb.dlang/circular.exp b/gdb/testsuite/gdb.dlang/circular.exp index e2b0b8ad691..2c54c5c72a4 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 aa5770080fc..4f3c63eab77 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 23b2149974d..111042cbe78 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 3e82ad90deb..2f80b3390a0 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 7a114fc020f..3fd6d2d6e41 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 9164ce8ee5d..474c18b3177 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 4b240b13fcf..6ac99778f9c 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 edf26e7b999..6334314fd87 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.
reply other threads:[~2023-01-13 20:39 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230113203905.A787B38543B3@sourceware.org \ --to=tromey@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).