]> granicus.if.org Git - clang/commitdiff
Revert "Update test_debuginfo.pl script to point to new tree location."
authorZachary Turner <zturner@google.com>
Mon, 13 Nov 2017 23:33:29 +0000 (23:33 +0000)
committerZachary Turner <zturner@google.com>
Mon, 13 Nov 2017 23:33:29 +0000 (23:33 +0000)
This reverts the aforementioned patch and 2 subsequent follow-ups,
as some buildbots are still failing 2 tests because of it.
Investigation is ongoing into the cause of the failures.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318112 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt
test/lit.cfg.py

index e00189138475272a58105eba2c50d6d86618b352..c1ac9e4f0f958ced1d09ceeb35da05e1d15eafd5 100644 (file)
@@ -88,13 +88,6 @@ set(CLANG_TEST_PARAMS
   clang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
   )
 
-if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests/CMakeLists.txt")
-  # This is a hack to keep existing build build infrastructure working while we
-  # can migrate to the new standard workflow of checking out debuginfo-tests into
-  # llvm/projects or using it in a mono-repo
-  add_subdirectory(debuginfo-tests)
-endif()
-
 if( NOT CLANG_BUILT_STANDALONE )
   list(APPEND CLANG_TEST_DEPS
     llvm-config
index d2f0491821de096fb2e63160ee4541225a2ab8d1..39bdf36afd1172bcddc67f5ee5a3774ad68aa86c 100644 (file)
@@ -58,6 +58,8 @@ tool_dirs = [config.clang_tools_dir, config.llvm_tools_dir]
 
 tools = [
     'c-index-test', 'clang-check', 'clang-diff', 'clang-format', 'opt',
+    ToolSubst('%test_debuginfo', command=os.path.join(
+        config.llvm_src_root, 'utils', 'test_debuginfo.pl')),
     ToolSubst('%clang_func_map', command=FindTool(
         'clang-func-mapping'), unresolved='ignore'),
 ]