From acfb169b3c474930ce5ae278ab512ef7483c368c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 24 May 2024 06:30:57 -0700 Subject: sysdeps/ieee754/ldbl-opt/Makefile: Split and sort tests 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 8072761..d7e8c5c 100644 --- a/sysdeps/ieee754/ldbl-opt/Makefile +++ b/sysdeps/ieee754/ldbl-opt/Makefile @@ -192,13 +192,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 @@ -233,10 +237,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 @@ -254,10 +260,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 -- cgit v1.1