[all-commits] [llvm/llvm-project] 1e8960: [libc] Add rule named `add_libc_hermetic_test` whi...

Siva Chandra via All-commits all-commits at lists.llvm.org
Mon Apr 24 15:44:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e8960c7a588c117bf703221ce656aeb034219c5
      https://github.com/llvm/llvm-project/commit/1e8960c7a588c117bf703221ce656aeb034219c5
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/test/CMakeLists.txt
    M libc/test/UnitTest/CMakeLists.txt
    A libc/test/UnitTest/HermeticTestUtils.cpp
    A libc/test/UnitTest/LibcDeathTestExecutors.cpp
    M libc/test/UnitTest/LibcTest.cpp
    M libc/test/UnitTest/LibcTest.h
    M libc/test/UnitTest/LibcTestMain.cpp
    M libc/test/src/ctype/CMakeLists.txt

  Log Message:
  -----------
  [libc] Add rule named `add_libc_hermetic_test` which adds a hermetic test.

A convenience wrapper name `add_libc_test` is also added which adds both
a unit test and a hermetic test. The ctype tests have been switched over
to use add_libc_test.

Reviewed By: jhuber6

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




More information about the All-commits mailing list