[all-commits] [llvm/llvm-project] db936e: [libc][NFC] Add library of floating point test mat...

Siva Chandra via All-commits all-commits at lists.llvm.org
Fri Aug 7 23:34:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: db936e0e915377a58032dccc13bedbfccf0a1ca8
      https://github.com/llvm/llvm-project/commit/db936e0e915377a58032dccc13bedbfccf0a1ca8
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-08-07 (Fri, 07 Aug 2020)

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

  Log Message:
  -----------
  [libc][NFC] Add library of floating point test matchers.

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.

Reviewed By: lntue

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




More information about the All-commits mailing list