[all-commits] [llvm/llvm-project] 6d5845: [support] Attempt to fix PrintNumber test for Solaris

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Mar 24 09:48:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d5845c5c335f7146c9d3c8b2b4946609aaea2c2
      https://github.com/llvm/llvm-project/commit/6d5845c5c335f7146c9d3c8b2b4946609aaea2c2
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M llvm/unittests/Support/ScopedPrinterTest.cpp

  Log Message:
  -----------
  [support] Attempt to fix PrintNumber test for Solaris

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.

Reviewed By: abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D146818




More information about the All-commits mailing list