Index: lld/trunk/test/CMakeLists.txt =================================================================== --- lld/trunk/test/CMakeLists.txt +++ lld/trunk/test/CMakeLists.txt @@ -53,6 +53,12 @@ DEPENDS ${LLD_TEST_DEPS} ) +add_lit_testsuites(LLD ${CMAKE_CURRENT_SOURCE_DIR} + PARAMS lld_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg + lld_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg + DEPENDS ${LLD_TEST_DEPS} + ) + set_target_properties(check-lld PROPERTIES FOLDER "lld tests") # Add a legacy target spelling: lld-test