From patchwork Sat Sep 19 10:04:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xi Ruoyao X-Patchwork-Id: 144184 X-Patchwork-Delegate: azanella@linux.vnet.ibm.com Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F3C044BB24EB for ; Sat, 19 Sep 2026 10:06:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3C044BB24EB Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=xry111.site header.i=@xry111.site header.a=rsa-sha256 header.s=default header.b=LLiXqUUX X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 400694BB1C36 for ; Sat, 19 Sep 2026 10:05:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 400694BB1C36 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 400694BB1C36 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=89.208.246.23 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1789812354; cv=none; b=WJ/9BdcrbldXxXj/O1axOxcrM3ofuzk+AAzZiTh8PMy7H1tUeKHjElp9h4wTKeZ7b6NyoKKwwSvvaCLTH5Gximf3MdtQoZgcaCaHEGJg1x8W59AUO6AVqaQIZZox2jNkeqiEDrCTP6zL/xNvtE7+caVEoMLXs99mAvSsYWynsGI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1789812354; c=relaxed/simple; bh=ZmyLfR9hszCXwPMqQnedfWgcaqaAnogzknYDw4C4g/M=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=SQVe9Ug4GJd6kLdYxjDpjHG8BacgXqsJu4CUWW+Z3220kZWLcyxWIBYsheCjj3txlFyLr4/N5vPiTSsX4CAd01NJo+ksMRCNxjb8HthwNe1dcnZ9LSILoIdqoiBO62cIg1LzHR5vYoKWORj2E7+dTvwCI2BG3yQI4+63GAZgzeQ= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=xry111.site header.i=@xry111.site header.a=rsa-sha256 header.s=default header.b=LLiXqUUX DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 400694BB1C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xry111.site; s=default; t=1789812322; bh=Bo9N4NAEJclE9yCDxcuMffcuJM6VWR3YNK4+8WqnS4U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LLiXqUUX5hGPRxqzS88dSc8iuaddnuOZs73n/qEKrzaX15mDCogzbN29tDAJF7J/B Y1VlOfV+8MRYFM5va9V0+jkuEn6PFr6u6C9okgSUZs32QCp9Gx8hQnbpXMoDPKTjrQ 8L5JelXUrmd3KLrclR5Ae0SqyuwPiCeTx5gY26SY= Received: from stargazer (unknown [IPv6:2408:824e:305:c601:c427:8c70:2426:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id BE89465BE7; Sat, 19 Sep 2026 06:05:20 -0400 (EDT) From: Xi Ruoyao To: libc-alpha@sourceware.org Cc: Adhemerval Zanella , Xi Ruoyao Subject: [PATCH 1/9] test-installation: refactor skipping the unwanted libraries Date: Sat, 19 Sep 2026 18:04:36 +0800 Message-ID: <20260919100444.2316950-2-xry111@xry111.site> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260919100444.2316950-1-xry111@xry111.site> References: <20260919100444.2316950-1-xry111@xry111.site> MIME-Version: 1.0 X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, LIKELY_SPAM_FROM, SPF_HELO_PASS, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org Make it easier to add more items. No functional change. Signed-off-by: Xi Ruoyao Reviewed-by: Adhemerval Zanella --- scripts/test-installation.pl | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/scripts/test-installation.pl b/scripts/test-installation.pl index a87fb056cc..57897a9efd 100755 --- a/scripts/test-installation.pl +++ b/scripts/test-installation.pl @@ -115,19 +115,21 @@ while () { if (/^lib/) { ($name, $version)= /^lib(.*)\.so-version=\.(.*)$/; # Filter out some libraries we don't want to link: - # - nss_ldap since it's not yet available - # - libdb1 since it conflicts with libdb - # - libthread_db since it contains unresolved references - # - it's just a test NSS module - # - We don't provide the libgcc so we don't test it - # - libmvec if it wasn't built + @skip = ( + # conflicts with libdb + "db1", + # contains unresolved references + "thread_db", + # is just a test NSS module + "nss_test1", + # are not provided by glibc + "libgcc_s", "nss_ldap", + ); + next if (grep { $_ eq $name } @skip); + # libmvec if it wasn't built next if ($build_mathvec == 0 && $name eq "mvec"); - if ($name ne "nss_ldap" && $name ne "db1" - && $name ne "thread_db" - && $name ne "nss_test1" && $name ne "libgcc_s") { - $link_libs .= " -l$name"; - $versions{$name} = $version; - } + $link_libs .= " -l$name"; + $versions{$name} = $version; } elsif ($LD_SO ne "") { ($ld_so_name, $ld_so_version) = split ('\.so\.', $LD_SO); } else {