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 @@ -300,7 +300,7 @@ function(add_libc_testsuite suite_name) add_custom_target(${suite_name}) - add_dependencies(check-llvmlibc ${suite_name}) + add_dependencies(libc-unit-tests ${suite_name}) endfunction(add_libc_testsuite) function(add_libc_exhaustive_testsuite suite_name) diff --git a/libc/test/CMakeLists.txt b/libc/test/CMakeLists.txt --- a/libc/test/CMakeLists.txt +++ b/libc/test/CMakeLists.txt @@ -12,8 +12,8 @@ ) add_custom_target(check-libc) -add_custom_target(check-llvmlibc) -add_dependencies(check-libc check-llvmlibc) +add_custom_target(libc-unit-tests) +add_dependencies(check-libc libc-unit-tests) add_custom_target(exhaustive-check-libc) add_custom_target(libc-long-running-tests) diff --git a/libc/test/integration/CMakeLists.txt b/libc/test/integration/CMakeLists.txt --- a/libc/test/integration/CMakeLists.txt +++ b/libc/test/integration/CMakeLists.txt @@ -1,4 +1,5 @@ add_custom_target(libc-integration-tests) +add_dependencies(check-libc libc-integration-tests) function(add_libc_integration_test_suite name) add_custom_target(${name}) diff --git a/libc/test/src/CMakeLists.txt b/libc/test/src/CMakeLists.txt --- a/libc/test/src/CMakeLists.txt +++ b/libc/test/src/CMakeLists.txt @@ -97,6 +97,8 @@ ) add_custom_target(libc-api-test) +add_dependencies(check-libc libc-api-test) + set( allocator_entrypoints libc.src.stdlib.malloc