This is an archive of the discontinued LLVM Phabricator instance.

[support] Attempt to fix PrintNumber test for Solaris
ClosedPublic

Authored by paulkirth on Mar 24 2023, 9:06 AM.

Details

Summary

NaN and Inf are still causing some problems in a formatting test.
This patch makes the checked format string exactly match the internal
JSON format string. If there are still problems, we should disable
testing Inf and NaN values until we can come to a portable solution.

Diff Detail

Event Timeline

paulkirth created this revision.Mar 24 2023, 9:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 9:06 AM
paulkirth requested review of this revision.Mar 24 2023, 9:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 9:06 AM
This revision is now accepted and ready to land.Mar 24 2023, 9:32 AM
This revision was landed with ongoing or failed builds.Mar 24 2023, 9:48 AM
This revision was automatically updated to reflect the committed changes.
dyung added a subscriber: dyung.Mar 24 2023, 11:31 AM

Hi @paulkirth, your change seems to be causing a test failure on a Windows bot, can you take a look?

https://lab.llvm.org/buildbot/#/builders/216/builds/18801

Sorry, I've disabled that portion of the test for now. https://reviews.llvm.org/rGfa56e362af475e0758cfb41c42f78db50da7235c. Please let me know if there are lingering issues. I'm going to try to dig in and get this working properly later today.