summaryrefslogtreecommitdiff
path: root/tests/float_test.cpp
AgeCommit message (Collapse)Author
2018-09-24Fix up a few bionic tests for the clang-r339409 update.Stephen Hines
Disable -Wmemset-transposed-args to ensure that FORTIFY still works without it. Also, we can finally enable checking for FLT_HAS_SUBNORM/DBL_HAS_SUBNORM/LDBL_HAS_SUBNORM now that those are available in Clang. Bug: http://b/110779387 Test: build and run bionic unit tests Change-Id: I4bf19b870c44d981ecbd1089d0ae6a2496be5441
2017-08-29Add tests for all C11 headers.Elliott Hughes
Well, all except <threads.h> which we have no current plans to implement. The only thing this turned up is that clang's <float.h> doesn't define FLT_HAS_SUBNORM/DBL_HAS_SUBNORM/LDBL_HAS_SUBNORM, so for now we assert that those are missing so that when we get a fixed clang, we notice. Also the <tgmath.h> is utterly perfunctory, but seems like an appropriate amount of effort to put in. Bug: N/A Test: ran tests Change-Id: I7f7a7040b3271ceda625bee8a40a9d8cef52ee44