From patchwork Fri May 24 13:30:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1938982 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=HAh0CWAS; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vm5Xm6Swgz20Q0 for ; Fri, 24 May 2024 23:31:20 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B584D386C583 for ; Fri, 24 May 2024 13:31:18 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id A0A513857C4F for ; Fri, 24 May 2024 13:31:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0A513857C4F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0A513857C4F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::631 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716557463; cv=none; b=jx59iWxcBvJlmykIDKXH9IUxnkDqfaUv7Hr6kTvJWofEssjIWmCBXvhdU1jPVw4SDOwt362zw947VNdJueYtplQnMsB5Au9IHuRA1XycPveNMyBveYAi4OYsPhfcFkkboyGjj7ezPqVhrNrSPx+F/JOM+5npdLLgNB0fM1iSWKU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716557463; c=relaxed/simple; bh=69NcdBq/vGZg549vF5Lx692CP/MaZMp5mJ5f0M+7QG0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Wo3PaxxkRfhJIevz+i5RT58mgH/C/j5o8ntP3Cx/qOWWrPFSFqPUObdWlUHmrBZ6B9wBV7hHsXz56g21OOXz0vcsl/oAl8RceNhNUs/1j1NZcEj/Cf+Ba4m/TygvmE9BYHQNzgs21PQYSrdP962WsUPP/TeXn8ssv313bSim4I4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1f44b4285dbso6491775ad.0 for ; Fri, 24 May 2024 06:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716557460; x=1717162260; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=AifBmVuXh1hq3gAQsGKgHHxhSoeqi0E2h+LuNduOL+s=; b=HAh0CWAS10XpOOd4ys6o4s2wVc7LwqPMmhQ5aGcTtqzSbOSejXJNXjqwdCKRIKMJoq n5IyHMzkjNQDOBnUlIazzlaxRwxNd8jTtFagopmea4D44tnsKI3lRoS4oKPlk1XYdTHs HCgKyzDXvsELsB8JQtrH4dN6EIamL9RkAx4JwK4sDG2hWfH1yRyYvuAgZB+MXs7j3Byr 0HDA8PBiSQtxa7KRNnIkBqQgobgVhI8zJXgq7x8vkY9rOi56gI7i9+7zF95852ABWlDD CH9P7pK2lF7/3b5Twm6vyutVaQg7LuGq3c+hrrRREpLWGhAv+nr1YtjC5BjUVj75/EsQ HxFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716557460; x=1717162260; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AifBmVuXh1hq3gAQsGKgHHxhSoeqi0E2h+LuNduOL+s=; b=oIecjV059TiNaasbD2LXDqzJzOpEorVN5cnJsRjqCpwNPx4a6syyaqUofFTJVc5ArL zm8S69Lpu8uWSrJ7FgEIYmMd2guxepxTmhsacQ20kjUP0pFSGp8+BVifPNp/8WpTF3ri 8no8zYm8Oh+XyEM9KdNzijHfJrW0/5wIM/qGlPSh/5GasNBEuRcGSxgWOxHe/JJo+yEG Y1arifmc72oo4g8h05YVHFltv3chZkkICxtKA2ZX0mHMGoqsdBCD4EHceW8nAnb5d5ZN Ir2q7bn0o0+GO52q/T5ermZAgmysugACoTfHLMGuEUgPIrxlddRiTCWHEz+fLgvWPHJR xjRw== X-Gm-Message-State: AOJu0Yx9BtM5S2axKu1NDII3FhoPc78cvBIlLWVsJm+8nY66QSvRt9R2 pWZAjRgFbRAvHoJm/gY2g8Q4Vouc/9VFdsVt8CZfa5BJe98ylK9wjd+jEg== X-Google-Smtp-Source: AGHT+IGIxxJgThd6+Y8uQeMOD/qbAxUdiuANgBvX3pA3SIjsS/gtjzy6IegHK0nQybWK89+doqOOlQ== X-Received: by 2002:a17:902:d511:b0:1e5:9391:1d44 with SMTP id d9443c01a7336-1f449026dcemr28035835ad.47.1716557460337; Fri, 24 May 2024 06:31:00 -0700 (PDT) Received: from gnu-tgl-3.localdomain ([172.59.129.178]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f44c96f281sm14061415ad.126.2024.05.24.06.30.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 06:30:59 -0700 (PDT) Received: from gnu-tgl-3.. (localhost [IPv6:::1]) by gnu-tgl-3.localdomain (Postfix) with ESMTP id C5DDEC0070 for ; Fri, 24 May 2024 06:30:57 -0700 (PDT) From: "H.J. Lu" To: libc-alpha@sourceware.org Subject: [COMMITTED] sysdeps/ieee754/ldbl-opt/Makefile: Split and sort tests Date: Fri, 24 May 2024 06:30:57 -0700 Message-ID: <20240524133057.10799-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3022.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.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+incoming=patchwork.ozlabs.org@sourceware.org Put each test on a separate line and sort tests. Signed-off-by: H.J. Lu --- sysdeps/ieee754/ldbl-opt/Makefile | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/sysdeps/ieee754/ldbl-opt/Makefile b/sysdeps/ieee754/ldbl-opt/Makefile index a568836633..0c9c978686 100644 --- a/sysdeps/ieee754/ldbl-opt/Makefile +++ b/sysdeps/ieee754/ldbl-opt/Makefile @@ -200,13 +200,17 @@ CFLAGS-nldbl-y0.c = -fno-builtin-y0l CFLAGS-nldbl-y1.c = -fno-builtin-y1l CFLAGS-nldbl-yn.c = -fno-builtin-ynl -tests += test-narrow-macros-ldbl-64 test-nldbl-redirect \ - test-redirection-ldbl-64 +tests += \ + test-narrow-macros-ldbl-64 \ + test-nldbl-redirect \ + test-redirection-ldbl-64 \ +# tests CFLAGS-test-narrow-macros-ldbl-64.c += -mlong-double-64 CFLAGS-test-nldbl-redirect.c += -mlong-double-64 CFLAGS-test-redirection-ldbl-64.c += -mlong-double-64 $(objpfx)test-nldbl-redirect: $(objpfx)libnldbl_nonshared.a +$(objpfx)test-nldbl-redirect-static: $(objpfx)libnldbl_nonshared.a endif @@ -241,10 +245,12 @@ CFLAGS-tst-nldbl-errorfptr.c += -mlong-double-64 endif ifeq ($(subdir), stdio-common) -tests += tst-nldbl-scanf-binary-c11 \ - tst-nldbl-scanf-binary-c23 \ - tst-nldbl-scanf-binary-gnu11 \ - tst-nldbl-scanf-binary-gnu89 +tests += \ + tst-nldbl-scanf-binary-c11 \ + tst-nldbl-scanf-binary-c23 \ + tst-nldbl-scanf-binary-gnu11 \ + tst-nldbl-scanf-binary-gnu89 \ +# tests # Some versions of GCC supported for building glibc do not support -std=c23 # (added in GCC 14), or the older name -std=c2x (added in GCC 9), so @@ -262,10 +268,12 @@ CFLAGS-tst-nldbl-scanf-binary-gnu89.c += -mlong-double-64 -std=gnu89 \ endif ifeq ($(subdir), wcsmbs) -tests += tst-nldbl-wscanf-binary-c11 \ - tst-nldbl-wscanf-binary-c23 \ - tst-nldbl-wscanf-binary-gnu11 \ - tst-nldbl-wscanf-binary-gnu89 +tests += \ + tst-nldbl-wscanf-binary-c11 \ + tst-nldbl-wscanf-binary-c23 \ + tst-nldbl-wscanf-binary-gnu11 \ + tst-nldbl-wscanf-binary-gnu89 \ +# tests # Some versions of GCC supported for building glibc do not support -std=c23 # (added in GCC 14), or the older name -std=c2x (added in GCC 9), so