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.
foreach_with_prefix lang $::all_languages {
if { $lang == "unknown" } {
+ # Tested outside $supported_archs loop.
+ continue
+ } elseif { $lang == "auto" || $lang == "local" } {
+ # Avoid duplicate testing.
continue
}
foreach_with_prefix arch $supported_archs {
if {$arch == "auto"} {
+ # Avoid duplicate testing.
continue
}
test_parse_numbers $arch