From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8Q6RJEgwi2Jy0AcAWB0awg (envelope-from ) for ; Mon, 23 May 2022 02:57:12 -0400 Received: by simark.ca (Postfix, from userid 112) id 89FD71E220; Mon, 23 May 2022 02:57:12 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=moeLCwh+; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 04F9A1E143 for ; Mon, 23 May 2022 02:57:12 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 87530383E6BA for ; Mon, 23 May 2022 06:57:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 87530383E6BA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1653289031; bh=reozuRQd5jxGSP/vzfLUEmBZWQTIGa+lhoFvqlgvVyk=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=moeLCwh+UE2MbhsJw6rBZAsti8B64gpQOUTE65t1ZkG2UX7ahMf5gOG5E6nbP3zR2 jylEC3mwFjtn8yno6VvbxOcMlQXxFMY2JSdNYYidbYphRr5SbK/12lUOTSuVN5eyLd 0dxWmJuki2MozhCccNpYSbShvYmrrrPB0vcjtFRQ= Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 3DAD8383E6AF for ; Mon, 23 May 2022 06:56:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3DAD8383E6AF Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1F4C61F8BE for ; Mon, 23 May 2022 06:56:38 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0ADAB139F5 for ; Mon, 23 May 2022 06:56:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7fpqASYwi2J6CQAAMHmgww (envelope-from ) for ; Mon, 23 May 2022 06:56:38 +0000 Date: Mon, 23 May 2022 08:56:36 +0200 To: gdb-patches@sourceware.org Subject: [committed][gdb/testsuite] Skip language auto in gdb.base/parse_number.exp Message-ID: <20220523065634.GA32283@delia.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom de Vries via Gdb-patches Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" 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