| Message ID | 20250915154151.2595921-1-rearnsha@arm.com |
|---|---|
| Headers |
Return-Path: <binutils-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AD4773857820 for <patchwork@sourceware.org>; Mon, 15 Sep 2025 15:43:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD4773857820 X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id A3BD53858D1E for <binutils@sourceware.org>; Mon, 15 Sep 2025 15:42:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3BD53858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A3BD53858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757950926; cv=none; b=o8bJrgchi+jIqZg7LsUyIHNsDVLYb0XWl+GfGUmXQ1e/892kMoiUyyJiSSm/Rz+U1re26m6RwVHCG5sEnmTRu64cHkFeNmRuyAtGDWZAhGg/I+Ha0A+dYJmmonICWi98NjeUgfhm2T6eTOEmEBU/PZ6NaiNb+wMvtWKpLtjijsE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757950926; c=relaxed/simple; bh=g1OGLcw2UPYBXS4ezz1Bh5+cF/lQS7sHIP+F/c3YnK8=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=xG2ERi153AZhlAzcOhLTzy8p4aNGRmz/uJUeBItFIUdOFPoWA6cqksedgShVEeq6DvddSjoPQZGlBaMJeK8wX7NMfa03NQS3a8SZshy67/0L/yihMO93Dy0eMEvWHnwzp2hSyurICSjmY/R0G/yQkyWN4Hvw9aEhQb+ifxxdXnc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3BD53858D1E Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 003EC1424; Mon, 15 Sep 2025 08:41:58 -0700 (PDT) Received: from e120077-lin.cambridge.arm.com (e120077-lin.cambridge.arm.com [10.2.78.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5B4713F694; Mon, 15 Sep 2025 08:42:05 -0700 (PDT) From: Richard Earnshaw <rearnsha@arm.com> To: binutils@sourceware.org Cc: Richard Earnshaw <rearnsha@arm.com>, nickc@redhat.com, jbeulich@suse.com, amodra@gmail.com Subject: [PATCH 0/4] Cleanup duplicate test names Date: Mon, 15 Sep 2025 16:41:47 +0100 Message-ID: <20250915154151.2595921-1-rearnsha@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org |
| Series | Cleanup duplicate test names | |
Message
Richard Earnshaw
Sept. 15, 2025, 3:41 p.m. UTC
GCC's compare_tests script has recently been augmented to report
duplicate test names in the summary file. The reason for doing this
is that if names are not unique then the test can appear to both pass
and fail in a single run, making the script unable to determine
whether or not this is a regression.
This short patch series cleans up a number of duplicate test names in
the gas component of the testsuite. I've tried to avoid unnecessary
churn, particularly for the multiple 'as' tests, but some name changes
are inevitable since any duplicate must be resolved to a different
name.
Richard Earnshaw (4):
testsuite: all: use unique test names for multibyte3 tests
binutils: testsuite: avoid dup names when using multiple as:
directives
testsuite: elf: avoid clashing mbind test names
testsuite; Avoid clashing names in err-sizeof.s
binutils/testsuite/lib/binutils-common.exp | 27 +++++++++++++---------
gas/testsuite/gas/all/err-sizeof.s | 2 +-
gas/testsuite/gas/all/gas.exp | 2 +-
gas/testsuite/gas/elf/section16b.d | 2 +-
4 files changed, 19 insertions(+), 14 deletions(-)
Comments
On 15.09.2025 17:41, Richard Earnshaw wrote: > GCC's compare_tests script has recently been augmented to report > duplicate test names in the summary file. The reason for doing this > is that if names are not unique then the test can appear to both pass > and fail in a single run, making the script unable to determine > whether or not this is a regression. > > This short patch series cleans up a number of duplicate test names in > the gas component of the testsuite. I've tried to avoid unnecessary > churn, particularly for the multiple 'as' tests, but some name changes > are inevitable since any duplicate must be resolved to a different > name. > > Richard Earnshaw (4): > testsuite: all: use unique test names for multibyte3 tests > binutils: testsuite: avoid dup names when using multiple as: > directives > testsuite: elf: avoid clashing mbind test names > testsuite; Avoid clashing names in err-sizeof.s In the event this isn't considered obvious anyway - okay (with the one adjustment to patch 3). Jan