[PATCH] D146739: [support] Fix PrintNumber Test on AIX

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 06:21:37 PDT 2023


ro added a comment.

Even with this patch, the `ScopedPrinterTest.PrintNumber` test still `FAIL`s on Solaris:

  /vol/llvm/src/llvm-project/dist/llvm/unittests/Support/ScopedPrinterTest.cpp:91: Failure
  Expected equality of these values:
  [...]
  With diff:
  @@ -23,5 +23,5 @@
     \"float-max\": 3.4028234663852886e+38,
     \"float-min\": 1.1754943508222875e-38,
  -  \"float-inf\": inf,
  +  \"float-inf\": infinity,
     \"float-nan\": nan,
     \"float-42.0\": 42,
  @@ -29,5 +29,5 @@
     \"double-max\": 1.7976931348623157e+308,
     \"double-min\": 2.2250738585072014e-308,
  -  \"double-inf\": inf,
  +  \"double-inf\": infinity,
     \"double-nan\": nan,
     \"double-42.0\": 42,


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146739/new/

https://reviews.llvm.org/D146739



More information about the llvm-commits mailing list