Page MenuHomeFreeBSD

Improve test messages for msun tests
ClosedPublic

Authored by arichardson on Mar 5 2021, 4:34 PM.
Tags
None
Referenced Files
F167625945: D29091.id.diff
Sun, Aug 23, 7:08 AM
F167621778: D29091.diff
Sun, Aug 23, 6:04 AM
Unknown Object (File)
Sat, Aug 22, 3:18 AM
Unknown Object (File)
Fri, Aug 21, 5:03 PM
Unknown Object (File)
Fri, Aug 21, 4:49 PM
Unknown Object (File)
Fri, Aug 21, 4:48 PM
Unknown Object (File)
Sat, Aug 15, 6:30 PM
Unknown Object (File)
Sat, Aug 15, 6:15 PM
Subscribers

Details

Summary

Also print the mismatched values when numbers compare not equal.

Depends on D28798

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37614
Build 34503: arc lint + arc unit

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.