[libc-commits] [PATCH] D85486: [libc][NFC] Add library of floating point test matchers.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Aug 6 16:14:10 PDT 2020


sivachandra created this revision.
sivachandra added reviewers: abrachet, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.

This eliminates UnitTest's dependency on FPUtil and hence prevents
non-math tests from depending indirectly on FPUtil. The patch
essentially moves some of the existing pieces into a library of its own.

Along the way, renamed add_math_unittest to add_fp_unittest.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85486

Files:
  libc/test/src/math/CMakeLists.txt
  libc/test/src/math/fmax_test.cpp
  libc/test/src/math/fmaxf_test.cpp
  libc/test/src/math/fmaxl_test.cpp
  libc/test/src/math/fmin_test.cpp
  libc/test/src/math/fminf_test.cpp
  libc/test/src/math/fminl_test.cpp
  libc/utils/FPUtil/CMakeLists.txt
  libc/utils/FPUtil/TestHelpers.cpp
  libc/utils/FPUtil/TestHelpers.h
  libc/utils/UnitTest/Test.cpp
  libc/utils/UnitTest/Test.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85486.283761.patch
Type: text/x-patch
Size: 37892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200806/b69f328d/attachment-0001.bin>


More information about the libc-commits mailing list