]> sourceware.org Git - glibc.git/commit
Add test for warn, warnx, vwarn, and vwarnx with floating-point parameters
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Mon, 6 Aug 2018 15:06:03 +0000 (12:06 -0300)
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Tue, 6 Nov 2018 13:21:54 +0000 (11:21 -0200)
commit9771e6cb510230e185a2c9914003b184bab0f21d
tree76289ebc6e04686533433a34e79a6a7b21ba4efc
parent2c03961fce9213904f67376926c8f2ad1617ffba
Add test for warn, warnx, vwarn, and vwarnx with floating-point parameters

Similarly to what has been done for argp_error and argp_failure, this
patch patch adds new tests for the warn, warnx, vwarn, and vwarnx
functions.  The new tests use the format string to request the
conversion of long double parameters into string.  Currently, these
tests only check that the default format of the long double type works.
Future patches will extend the test for platforms that can have an
optional format for long double.

Tested for powerpc64le.

* misc/Makefile (tests): Add tst-ldbl-warn.
* misc/tst-ldbl-warn.c: New file.
ChangeLog
misc/Makefile
misc/tst-ldbl-warn.c [new file with mode: 0644]
This page took 0.035109 seconds and 5 git commands to generate.