HomePhabricator

tests - remove one of the eina strtod tests as libc is failing

Authored by raster on Apr 7 2019, 6:47 AM.

Description

tests - remove one of the eina strtod tests as libc is failing

see the comments above the test explaining why it's removed (libc
fails, not eina and having our tests fail because eina is a bit more
robust than libc is not a sane thing to have). but here is the comment
for git history spelunking:

this test isn't viable because libc actually fails the conversion (testing
glibc 2.28 on arch linux). either libc doesn't like the space at the start
thus doesn't skip it but assumes END of numbver string thus not converting
and returning NULL, or it doesn't like InFiNiTyfoo in some way, but either
way this test shows eina to be more robust and do some kind of conversion
and libc to fail and return NULL from strtod into the string pointer. it
also doesnt return an infinite fp thus hitting the default: case and thus
failing etc. ... so all in all remove the test as all it does it cause
failures and if anything shows libc to be failing more than eina.

@fix

Details

Committed
rasterApr 7 2019, 6:47 AM
Parents
rEFL1f402946a20a: tests - fix check header to always include eina due to windows
Branches
Unknown
Tags
Unknown