]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r313376:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 14 Feb 2017 04:46:19 +0000 (04:46 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 14 Feb 2017 04:46:19 +0000 (04:46 +0000)
commitf5334a1e8ac9a72b2f7694aee133f6b5d0c98709
tree87ea52f3e8459943ee5e69d86d0235d88ad1ea50
parenta73b52496c83a0dbef10dad2d28eb069c0e7754a
MFC r313376:

Fix :hexadecimal_floating_point on i386

Don't exclude i386 from LDBL_MANT_DIG == 64; it works properly in
that case.

While here, replace strcmp + atf_tc_fail with ATF_CHECK_MSG for 2
reasons:
- Gather as many results as possible instead of failing early and
  not testing the rest of the cases.
- Simplify logic when checking test inputs vs outputs and printing
  test result.

Tested on: amd64, i386

git-svn-id: svn://svn.freebsd.org/base/stable/10@313720 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/tests/stdio/printfloat_test.c