llvm.org GIT mirror llvm / 89cd192
Revert "Update test_debuginfo.pl script to point to new tree location." 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/llvm/trunk@318112 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 1 year, 8 months ago
4 changed file(s) with 11 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
109109 # LLVM_EXTERNAL_${project}_SOURCE_DIR using LLVM_ALL_PROJECTS
110110 # This allows an easy way of setting up a build directory for llvm and another
111111 # one for llvm+clang+... using the same sources.
112 set(LLVM_ALL_PROJECTS "clang;libcxx;libcxxabi;lldb;compiler-rt;debuginfo-tests;lld;polly")
112 set(LLVM_ALL_PROJECTS "clang;libcxx;libcxxabi;lldb;compiler-rt;lld;polly")
113113 set(LLVM_ENABLE_PROJECTS "" CACHE STRING
114114 "Semicolon-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".")
115115 if( LLVM_ENABLE_PROJECTS STREQUAL "all" )
880880 endif()
881881
882882 if( LLVM_INCLUDE_TESTS )
883 if(TARGET clang)
883 if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang)
884884 include(LLVMExternalProjectUtils)
885 if (EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite)
886 llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite
887 USE_TOOLCHAIN
888 TOOLCHAIN_TOOLS clang lld clang-cl
889 EXCLUDE_FROM_ALL
890 NO_INSTALL
891 ALWAYS_CLEAN)
892 endif()
893
894 add_llvm_external_project(debuginfo-tests projects/debuginfo-tests)
885 llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite
886 USE_TOOLCHAIN
887 EXCLUDE_FROM_ALL
888 NO_INSTALL
889 ALWAYS_CLEAN)
895890 endif()
896891 add_subdirectory(utils/lit)
897892 add_subdirectory(test)
99 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi) AND
1010 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind) AND
1111 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/test-suite) AND
12 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests) AND
1312 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/parallel-libs) AND
1413 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/openmp))
1514 add_subdirectory(${entry})
2626 # For tests that require Windows to run.
2727 features.add('system-windows')
2828
29 lit_tools_dir = getattr(config, 'lit_tools_dir', None)
3029 # Seek sane tools in directories and set to $PATH.
31 path = self.lit_config.getToolsPath(lit_tools_dir,
30 path = self.lit_config.getToolsPath(config.lit_tools_dir,
3231 config.environment['PATH'],
3332 ['cmp.exe', 'grep.exe', 'sed.exe'])
3433 if path is not None:
413412 self.config.substitutions.append(
414413 ('%target_itanium_abi_host_triple', ''))
415414
416 clang_src_dir = getattr(self.config, 'clang_src_dir', None)
417 if clang_src_dir:
418 self.config.substitutions.append(
419 ('%src_include_dir', os.path.join(clang_src_dir, 'include')))
415 self.config.substitutions.append(
416 ('%src_include_dir', self.config.clang_src_dir + '/include'))
420417
421418 # FIXME: Find nicer way to prohibit this.
422419 self.config.substitutions.append(
5555 if (!$my_debugger) {
5656 if ($use_lldb) {
5757 my $path = dirname(Cwd::abs_path($0));
58 $my_debugger = "/usr/bin/env python $path/../tools/clang/test/debuginfo-tests/tests/llgdb.py";
58 $my_debugger = "/usr/bin/env python $path/../tools/clang/test/debuginfo-tests/llgdb.py";
5959 } else {
6060 $my_debugger = "gdb";
6161 }