Files
clang-p2996/libc/test/utils/UnitTest/CMakeLists.txt
Caitlyn Cano fa7a9ef178 [libc] Add option to run specific tests
This addition reads command line input to run specific single tests
within a larger call to run all the tests for a particular function.
When the user adds a second argument to the command line, the code skips
all the tests that don't match the user's specified binary. If the user
doesn't specify a test correctly and/or no tests are run, a failure
message prints.

Reviewed By: sivachandra, aeubanks

Differential Revision: https://reviews.llvm.org/D105843
2021-07-23 16:08:13 +00:00

12 lines
187 B
CMake

add_libc_testsuite(libc_unittest_tests)
add_libc_unittest(
testfilter_test
SUITE
libc_unittest_tests
SRCS
testfilter_test.cpp
DEPENDS
libc.utils.CPP.standalone_cpp
)