Files
clang-p2996/libc/utils/testutils/CMakeLists.txt
Alex Brachet 1962bc1dfb [libc] [UnitTest] Add Matchers
Summary: This patch adds gtest-like matchers and `EXPECT|ASSERT_THAT` macros. It also adds matchers `Succeeds` and `Fails` and has examples using these in test/src/signal/sigaddset_test.cpp.

Reviewers: sivachandra, gchatelet, PaulkaToast

Reviewed By: sivachandra, PaulkaToast

Subscribers: mgorny, MaskRay, tschuett, libc-commits

Differential Revision: https://reviews.llvm.org/D75487
2020-03-05 18:36:11 -05:00

14 lines
205 B
CMake

if(CMAKE_HOST_UNIX)
set(EFFile ExecuteFunctionUnix.cpp)
endif()
add_llvm_library(
libc_test_utils
StreamWrapper.cpp
StreamWrapper.h
${EFFile}
ExecuteFunction.h
LINK_COMPONENTS
Support
)