[compiler-rt] r201406 - Delete LSan unit tests

Alexey Samsonov samsonov at google.com
Fri Feb 14 04:13:59 PST 2014


Author: samsonov
Date: Fri Feb 14 06:13:59 2014
New Revision: 201406

URL: http://llvm.org/viewvc/llvm-project?rev=201406&view=rev
Log:
Delete LSan unit tests

Removed:
    compiler-rt/trunk/lib/lsan/lit_tests/Unit/
    compiler-rt/trunk/lib/lsan/tests/
Modified:
    compiler-rt/trunk/lib/lsan/CMakeLists.txt
    compiler-rt/trunk/lib/lsan/lit_tests/CMakeLists.txt

Modified: compiler-rt/trunk/lib/lsan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/CMakeLists.txt?rev=201406&r1=201405&r2=201406&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/lsan/CMakeLists.txt Fri Feb 14 06:13:59 2014
@@ -54,7 +54,4 @@ elseif(NOT ANDROID)
   endforeach()
 endif()
 
-if (LLVM_INCLUDE_TESTS)
-  add_subdirectory(tests)
-endif()
 add_subdirectory(lit_tests)

Modified: compiler-rt/trunk/lib/lsan/lit_tests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lit_tests/CMakeLists.txt?rev=201406&r1=201405&r2=201406&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lit_tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/lsan/lit_tests/CMakeLists.txt Fri Feb 14 06:13:59 2014
@@ -13,11 +13,6 @@ configure_lit_site_cfg(
   ${CMAKE_CURRENT_BINARY_DIR}/AsanConfig/lit.site.cfg
   )
 
-configure_lit_site_cfg(
-  ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
-  ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
-  )
-
 if(COMPILER_RT_CAN_EXECUTE_TESTS AND NOT APPLE AND NOT ANDROID)
   set(LSAN_TEST_DEPS
     ${SANITIZER_COMMON_LIT_TEST_DEPS}
@@ -25,13 +20,9 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS AND NOT
   foreach(arch ${LSAN_SUPPORTED_ARCH})
     list(APPEND LSAN_TEST_DEPS clang_rt.asan-${arch})
   endforeach()
-  if(LLVM_INCLUDE_TESTS)
-    list(APPEND LSAN_TEST_DEPS LsanUnitTests)
-  endif()
   add_lit_testsuite(check-lsan "Running the LeakSanitizer tests"
     ${CMAKE_CURRENT_BINARY_DIR}/LsanConfig
     ${CMAKE_CURRENT_BINARY_DIR}/AsanConfig
-    ${CMAKE_CURRENT_BINARY_DIR}/Unit
     DEPENDS ${LSAN_TEST_DEPS})
   set_target_properties(check-lsan PROPERTIES FOLDER "LSan tests")
 endif()





More information about the llvm-commits mailing list