]> sourceware.org Git - glibc.git/commit
Add tests with floating-point arguments for err* and verr* functions
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Tue, 7 Aug 2018 13:39:47 +0000 (10:39 -0300)
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Tue, 6 Nov 2018 13:22:34 +0000 (11:22 -0200)
commit7597b0c7f711a6918d5804e08508817c72916376
tree9eeaddd307533a9e7149edc7d5a03b38d6bc1285
parent9771e6cb510230e185a2c9914003b184bab0f21d
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.
ChangeLog
misc/Makefile
misc/tst-ldbl-error.c [new file with mode: 0644]
This page took 0.038658 seconds and 5 git commands to generate.