Page MenuHomeFreeBSD

Improve test messages for msun tests
ClosedPublic

Authored by arichardson on Mar 5 2021, 4:34 PM.
Tags
None
Referenced Files
F81606471: D29091.id86138.diff
Thu, Apr 18, 8:54 PM
F81601311: D29091.id85220.diff
Thu, Apr 18, 6:57 PM
F81594526: D29091.id86138.diff
Thu, Apr 18, 4:33 PM
F81592980: D29091.id85220.diff
Thu, Apr 18, 3:55 PM
Unknown Object (File)
Wed, Apr 17, 12:43 PM
Unknown Object (File)
Wed, Apr 17, 10:27 AM
Unknown Object (File)
Mon, Apr 1, 8:45 PM
Unknown Object (File)
Feb 7 2024, 4:09 PM
Subscribers

Details

Summary

Also print the mismatched values when numbers compare not equal.

Depends on D28798

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Remove unrelated makefile change

Yes, I like this. It's always annoyed me that the failing values weren't printed, and that a lot of code was repeated.

lib/msun/tests/logarithm_test.c
210

Hm why is this one suddenly formatted differently? It seems to be the same number though with a lot more precision?

This revision is now accepted and ready to land.Mar 5 2021, 8:44 PM
lib/msun/tests/logarithm_test.c
210

Unintended change, I just had a look whether pasting the value from a high-precision calculator would change the output. Will drop before comitting.

This revision was automatically updated to reflect the committed changes.