diff --git a/libc/cmake/modules/LLVMLibCTestRules.cmake b/libc/cmake/modules/LLVMLibCTestRules.cmake --- a/libc/cmake/modules/LLVMLibCTestRules.cmake +++ b/libc/cmake/modules/LLVMLibCTestRules.cmake @@ -178,6 +178,11 @@ add_dependencies(exhaustive-check-libc ${suite_name}) endfunction(add_libc_exhaustive_testsuite) +function(add_libc_long_running_testsuite suite_name) + add_custom_target(${suite_name}) + add_dependencies(libc-long-running-tests ${suite_name}) +endfunction(add_libc_long_running_testsuite) + # Rule to add a fuzzer test. # Usage # add_libc_fuzzer( diff --git a/libc/test/CMakeLists.txt b/libc/test/CMakeLists.txt --- a/libc/test/CMakeLists.txt +++ b/libc/test/CMakeLists.txt @@ -9,6 +9,7 @@ add_dependencies(check-libc check-llvmlibc) add_custom_target(exhaustive-check-libc) +add_custom_target(libc-long-running-tests) add_subdirectory(src) add_subdirectory(utils)