[cfe-commits] r131728 - /cfe/trunk/test/CMakeLists.txt

Douglas Gregor dgregor at apple.com
Fri May 20 08:01:17 PDT 2011


Author: dgregor
Date: Fri May 20 10:01:17 2011
New Revision: 131728

URL: http://llvm.org/viewvc/llvm-project?rev=131728&view=rev
Log:
Remove the clang-test-XXX targets from the CMake builds; they really aren't useful

Modified:
    cfe/trunk/test/CMakeLists.txt

Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=131728&r1=131727&r2=131728&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Fri May 20 10:01:17 2011
@@ -75,19 +75,6 @@
   add_custom_target(clang-test.deps)
   set_target_properties(clang-test.deps PROPERTIES FOLDER "Clang tests")
 
-  foreach(testdir ${CLANG_TEST_DIRECTORIES})
-    add_custom_target(clang-test-${testdir}
-      COMMAND ${PYTHON_EXECUTABLE}
-                  ${LIT}
-                  --param clang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
-                  --param build_config=${CMAKE_CFG_INTDIR}
-                  ${LIT_ARGS}
-                  ${CMAKE_CURRENT_BINARY_DIR}/${testdir}
-                  DEPENDS clang c-index-test FileCheck not count
-                  COMMENT "Running Clang regression tests in ${testdir}")
-    set_target_properties(clang-test-${testdir} PROPERTIES FOLDER "Clang tests")
-  endforeach()
-
   add_custom_target(clang-test
     COMMAND ${PYTHON_EXECUTABLE}
                 ${LIT}
@@ -100,17 +87,6 @@
                 COMMENT "Running Clang regression tests")
   set_target_properties(clang-test PROPERTIES FOLDER "Clang tests")
 
-  add_custom_target(clang-c++tests
-    COMMAND ${PYTHON_EXECUTABLE}
-                ${LIT}
-                --param clang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
-                --param build_config=${CMAKE_CFG_INTDIR}
-                ${LIT_ARGS}
-                ${CMAKE_CURRENT_SOURCE_DIR}/../utils/C++Tests
-                DEPENDS clang c-index-test FileCheck not count
-                COMMENT "Running Clang regression tests")
-  set_target_properties(clang-c++tests PROPERTIES FOLDER "Clang tests")
-
   if( NOT CLANG_BUILT_STANDALONE )
      add_custom_target(check-all
       COMMAND ${PYTHON_EXECUTABLE}





More information about the cfe-commits mailing list