[compiler-rt] r208373 - [Sanitizer] Move lit config for sanitizer_common unit tests under Unit/ dir for consistency.

Alexey Samsonov samsonov at google.com
Thu May 8 16:53:02 PDT 2014


Author: samsonov
Date: Thu May  8 18:53:02 2014
New Revision: 208373

URL: http://llvm.org/viewvc/llvm-project?rev=208373&view=rev
Log:
[Sanitizer] Move lit config for sanitizer_common unit tests under Unit/ dir for consistency.

Added:
    compiler-rt/trunk/test/sanitizer_common/Unit/
    compiler-rt/trunk/test/sanitizer_common/Unit/lit.site.cfg.in
      - copied unchanged from r208355, compiler-rt/trunk/test/sanitizer_common/lit.site.cfg.in
Removed:
    compiler-rt/trunk/test/sanitizer_common/lit.site.cfg.in
Modified:
    compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt

Modified: compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt?rev=208373&r1=208372&r2=208373&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt Thu May  8 18:53:02 2014
@@ -1,9 +1,9 @@
 if(COMPILER_RT_INCLUDE_TESTS)
   configure_lit_site_cfg(
-    ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
-    ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)
+    ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
+    ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
   add_lit_testsuite(check-sanitizer "Running sanitizer library unittests"
-    ${CMAKE_CURRENT_BINARY_DIR}
+    ${CMAKE_CURRENT_BINARY_DIR}/Unit
     DEPENDS SanitizerUnitTests)
   set_target_properties(check-sanitizer PROPERTIES FOLDER "Sanitizer unittests")
 endif()

Removed: compiler-rt/trunk/test/sanitizer_common/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/lit.site.cfg.in?rev=208372&view=auto
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/lit.site.cfg.in (original)
+++ compiler-rt/trunk/test/sanitizer_common/lit.site.cfg.in (removed)
@@ -1,15 +0,0 @@
-## Autogenerated by LLVM/Clang configuration.
-# Do not edit!
-
-# Load common config for all compiler-rt unit tests.
-lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
-
-# Setup config name.
-config.name = 'SanitizerCommon-Unit'
-
-# Setup test source and exec root. For unit tests, we define
-# it as build directory with sanitizer_common tests.
-# FIXME: De-hardcode this path.
-config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@", "lib",
-                                     "sanitizer_common", "tests")
-config.test_source_root = config.test_exec_root





More information about the llvm-commits mailing list