[all-commits] [llvm/llvm-project] 4dc205: [libc] Add a convenience CMake function `add_unitt...

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed May 17 14:14:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dc205f016e3dd2eb1182886a77676f24e39e329
      https://github.com/llvm/llvm-project/commit/4dc205f016e3dd2eb1182886a77676f24e39e329
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/test/UnitTest/CMakeLists.txt
    M libc/utils/MPFRWrapper/CMakeLists.txt

  Log Message:
  -----------
  [libc] Add a convenience CMake function `add_unittest_framework_library`.

This function is used to add unit test and hermetic test framework libraries.
It avoids the duplicated code to add compile options to each every test
framework libraries.

Reviewed By: jhuber6

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




More information about the All-commits mailing list