diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-03-05 06:29:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 06:29:22 -0600 |
commit | 90e97e71060cea8cb8bc4099d724d1fe9912cfc4 (patch) | |
tree | 99c30bffdd10f283ac66c10e9582ec9ded635787 /libc/cmake | |
parent | 67a7a5e89d31cc332f2d782c30623dd3ddbd0862 (diff) | |
download | llvm-90e97e71060cea8cb8bc4099d724d1fe9912cfc4.zip llvm-90e97e71060cea8cb8bc4099d724d1fe9912cfc4.tar.gz llvm-90e97e71060cea8cb8bc4099d724d1fe9912cfc4.tar.bz2 |
[libc] Disable verbose logging messages on hermetic tests (#83954)
Summary:
The other test locations only give these messages when we are in verbose
logging mode. The average user does not care about which tests are not
being built, and most platforms will have missing tests.
Diffstat (limited to 'libc/cmake')
-rw-r--r-- | libc/cmake/modules/LLVMLibCTestRules.cmake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/cmake/modules/LLVMLibCTestRules.cmake b/libc/cmake/modules/LLVMLibCTestRules.cmake index 836e15d..0bdd720 100644 --- a/libc/cmake/modules/LLVMLibCTestRules.cmake +++ b/libc/cmake/modules/LLVMLibCTestRules.cmake @@ -595,9 +595,11 @@ function(add_libc_hermetic_test test_name) get_object_files_for_test( link_object_files skipped_entrypoints_list ${fq_deps_list}) if(skipped_entrypoints_list) - set(msg "Skipping hermetic test ${fq_target_name} as it has missing deps: " - "${skipped_entrypoints_list}.") - message(STATUS ${msg}) + if(LIBC_CMAKE_VERBOSE_LOGGING) + set(msg "Skipping hermetic test ${fq_target_name} as it has missing deps: " + "${skipped_entrypoints_list}.") + message(STATUS ${msg}) + endif() return() endif() list(REMOVE_DUPLICATES link_object_files) |