about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/ieee754/ldbl-opt/Makefile10
2 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cd1c9a5df8..80de795860 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2019-03-01  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
 
+	* sysdeps/ieee754/ldbl-opt/Makefile
+	[subdir == argp] (tests-internal): Add tst-nldbl-argp.
+	[subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
+	[subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
+
+2019-03-01  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
+
 	[BZ #23983]
 	* argp/Makefile (headers): Add bits/argp-ldbl.h.
 	* argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
diff --git a/sysdeps/ieee754/ldbl-opt/Makefile b/sysdeps/ieee754/ldbl-opt/Makefile
index 64fdb8cb9e..8a2c129f5f 100644
--- a/sysdeps/ieee754/ldbl-opt/Makefile
+++ b/sysdeps/ieee754/ldbl-opt/Makefile
@@ -179,3 +179,13 @@ CFLAGS-test-nldbl-redirect.c += -mlong-double-64
 $(objpfx)test-nldbl-redirect: $(objpfx)libnldbl_nonshared.a
 
 endif
+
+# Tests for argp.h functions (reusing the relevant tests from argp/)
+ifeq ($(subdir),argp)
+tests-internal += tst-nldbl-argp
+
+$(objpfx)tst-nldbl-argp.c: tst-ldbl-argp.c
+	cp $< $@
+
+CFLAGS-tst-nldbl-argp.c += -mlong-double-64
+endif