public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Skip language auto in gdb.base/parse_number.exp
@ 2022-05-23 6:55 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-05-23 6:55 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb0d58bf4d274cfb1ae11b75bd2b3ba81c8d371d
commit cb0d58bf4d274cfb1ae11b75bd2b3ba81c8d371d
Author: Tom de Vries <tdevries@suse.de>
Date: Mon May 23 08:55:46 2022 +0200
[gdb/testsuite] Skip language auto in gdb.base/parse_number.exp
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.
Diff:
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-23 6:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23 6:55 [binutils-gdb] [gdb/testsuite] Skip language auto in gdb.base/parse_number.exp Tom de Vries
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).