mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 02:26:07 +00:00

This allows downstream customers to remove all test directories and save quite some space when only building with LLVM_INCLUDE_TESTS=OFF.
12 lines
342 B
CMake
12 lines
342 B
CMake
if(LLVM_INCLUDE_TESTS)
|
|
configure_lit_site_cfg(
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg"
|
|
)
|
|
|
|
add_lit_testsuite(check-mlgo-utils "Running mlgo-utils tests"
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
DEPENDS "FileCheck" "not" "count" "split-file" "yaml2obj" "llvm-objcopy"
|
|
)
|
|
endif()
|