summary refs log tree commit diff
path: root/misc/Makefile
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-08-07 10:39:47 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-11-06 11:22:34 -0200
commit7597b0c7f711a6918d5804e08508817c72916376 (patch)
tree9eeaddd307533a9e7149edc7d5a03b38d6bc1285 /misc/Makefile
parent9771e6cb510230e185a2c9914003b184bab0f21d (diff)
downloadglibc-7597b0c7f711a6918d5804e08508817c72916376.tar.gz
glibc-7597b0c7f711a6918d5804e08508817c72916376.tar.xz
glibc-7597b0c7f711a6918d5804e08508817c72916376.zip
Add tests with floating-point arguments for err* and verr* functions
Similarly to what has been done for argp_error, and argp_failure, as
well as for warn, warnx, vwarn, and vwarnx, this patch adds new tests
for the following functions: err, errx, verr, verrx, error, and
error_at_line.  The new tests check that the conversion of long double
variables into string works correctly on the default format of the type.
Future patches will reuse these tests for other formats that long double
can take.

Tested for powerpc64le.

	* misc/Makefile (tests): Add tst-ldbl-error.
	* misc/tst-ldbl-error.c: New file.
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 201de124f4..c2c9994d17 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -85,7 +85,7 @@ tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent tst-hsearch \
 	 tst-mntent-blank-corrupt tst-mntent-blank-passno bug18240 \
 	 tst-preadvwritev tst-preadvwritev64 tst-makedev tst-empty \
 	 tst-preadvwritev2 tst-preadvwritev64v2 tst-warn-wide \
-	 tst-ldbl-warn
+	 tst-ldbl-warn tst-ldbl-error
 
 # Tests which need libdl.
 ifeq (yes,$(build-shared))