From: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
To: gdb-patches@sourceware.org
Subject: [committed][gdb/testsuite] Skip language auto in gdb.base/parse_number.exp
Date: Mon, 23 May 2022 08:56:36 +0200 [thread overview]
Message-ID: <20220523065634.GA32283@delia.home> (raw)
Hi,
In test-case gdb.base/parse_number.exp, we skip architecture auto in the
$supported_archs loop, to prevent duplicate testing.
Likewise, skip language auto and its alias local in the $::all_languages
loop. This reduces the number of tests from 17744 to 15572.
Tested on x86_64-linux, with a build with --enable-targets=all.
Committed to trunk.
Thanks,
- Tom
[gdb/testsuite] Skip language auto in gdb.base/parse_number.exp
---
gdb/testsuite/gdb.base/parse_number.exp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gdb/testsuite/gdb.base/parse_number.exp b/gdb/testsuite/gdb.base/parse_number.exp
index 444f5d0534b..197e27a8e9e 100644
--- a/gdb/testsuite/gdb.base/parse_number.exp
+++ b/gdb/testsuite/gdb.base/parse_number.exp
@@ -63,6 +63,10 @@ proc test_parse_numbers {arch} {
foreach_with_prefix lang $::all_languages {
if { $lang == "unknown" } {
+ # Tested outside $supported_archs loop.
+ continue
+ } elseif { $lang == "auto" || $lang == "local" } {
+ # Avoid duplicate testing.
continue
}
@@ -117,6 +121,7 @@ set all_languages [get_set_option_choices "set language"]
foreach_with_prefix arch $supported_archs {
if {$arch == "auto"} {
+ # Avoid duplicate testing.
continue
}
test_parse_numbers $arch
reply other threads:[~2022-05-23 6:57 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=20220523065634.GA32283@delia.home \
--to=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/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: link
Be 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