From: Xi Ruoyao <xry111@xry111.site>
To: libc-alpha@sourceware.org
Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org>,
Xi Ruoyao <xry111@xry111.site>
Subject: [PATCH 1/9] test-installation: refactor skipping the unwanted libraries
Date: Sat, 19 Sep 2026 18:04:36 +0800 [thread overview]
Message-ID: <20260919100444.2316950-2-xry111@xry111.site> (raw)
In-Reply-To: <20260919100444.2316950-1-xry111@xry111.site>
Make it easier to add more items. No functional change.
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---
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 (<SOVERSIONS>) {
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 {
--
2.55.0
next prev parent reply other threads:[~2026-09-19 10:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-19 10:04 [PATCH 0/9] Make test-installation.pl work Xi Ruoyao
2026-09-19 10:04 ` Xi Ruoyao [this message]
2026-09-24 16:40 ` [PATCH 1/9] test-installation: refactor skipping the unwanted libraries Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 2/9] treewide: remove remnants of libnss_ldap Xi Ruoyao
2026-09-24 16:40 ` Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 3/9] test-installation: remove the reference to libdb1 Xi Ruoyao
2026-09-24 16:40 ` Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 4/9] test-installation: fix libgcc_s reference Xi Ruoyao
2026-09-24 16:40 ` Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 5/9] test-installation: skip nss_{dns,files} Xi Ruoyao
2026-09-24 16:40 ` Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 6/9] test-installation: skip empty static libraries Xi Ruoyao
2026-09-24 16:40 ` Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 7/9] test-installation: skip libunwind Xi Ruoyao
2026-09-24 16:40 ` Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 8/9] test-installation: skip libnsl Xi Ruoyao
2026-09-24 16:41 ` Adhemerval Zanella Netto
2026-09-19 10:04 ` [PATCH 9/9] test-installation: skip libanl if not built Xi Ruoyao
2026-09-24 16:41 ` Adhemerval Zanella Netto
2026-09-24 16:44 ` [PATCH 0/9] Make test-installation.pl work Adhemerval Zanella Netto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260919100444.2316950-2-xry111@xry111.site \
--to=xry111@xry111.site \
--cc=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).