testsuite/libffi.call/many.c


Log

Author Commit Date CI Message
Josh Triplett e48918ec 2014-03-16T20:29:27 testsuite: Add ABIs to the test matrix; unify tests across ABIs This eliminates all the *_win32.c tests in favor of the tests they were branched from, and expands test coverage to run many more tests on stdcall, thiscall, and fastcall. This same mechanism also supports testing any other target that has multiple ABIs.
Josh Triplett c00a49ec 2014-03-15T22:08:19 testsuite/libffi.call/many.c: Avoid spurious failure due to excess precision The test case testsuite/libffi.call/many.c can spuriously fail due to excess floating-point precision. Instrumenting it with some printf calls shows differences well above FLT_EPSILON. (Note when instrumenting it that multiple computations of the difference, such as one in a print and another in the conditional, may produce different results.) Rather than complicating the test suite with architecture-specific flags to avoid excess precision, just simplify the floating-point computation to avoid a dependency on potential excess precision.
Marcus Shawcroft f64e4a86 2013-10-15T15:20:14 Fix many.c testcase for Aarch64
David Schneider 2fbdb0f2 2013-03-25T13:26:02 use the absolute value to check the test result against an epsilon
Anthony Green c6dddbd0 2009-10-04T08:11:33 Initial commit