From ec7becf40e07390ecfe175208facabdaac93721a Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Fri, 14 Aug 2020 15:08:22 +0200 Subject: [PATCH] enable lldb and debuginfo tests Currently tests seems to be passing --- scripts/buildkite/build_master_pipeline.py | 4 +- scripts/choose_projects.py | 2 +- scripts/llvm-dependencies.yaml | 57 +--------------------- 3 files changed, 4 insertions(+), 59 deletions(-) diff --git a/scripts/buildkite/build_master_pipeline.py b/scripts/buildkite/build_master_pipeline.py index 6d357f6..d6a1ea5 100755 --- a/scripts/buildkite/build_master_pipeline.py +++ b/scripts/buildkite/build_master_pipeline.py @@ -22,7 +22,7 @@ if __name__ == '__main__': queue_prefix = os.getenv("ph_queue_prefix", "") no_cache = os.getenv('ph_no_cache') is not None filter_output = '--filter-output' if os.getenv('ph_no_filter_output') is None else '' - projects = os.getenv('ph_projects', 'clang;clang-tools-extra;libc;libcxx;libcxxabi;lld;libunwind;mlir;openmp;polly') + projects = os.getenv('ph_projects', 'clang;clang-tools-extra;libc;libcxx;libcxxabi;lld;libunwind;mlir;openmp;polly;lldb') log_level = os.getenv('ph_log_level', 'WARNING') notify_emails = list(filter(None, os.getenv('ph_notify_emails', '').split(','))) steps = [] @@ -64,7 +64,7 @@ if __name__ == '__main__': 'Remove-Item -Recurse -Force -ErrorAction Ignore \\$env:SCCACHE_DIR; ' \ 'sccache --start-server"' # FIXME: openmp is removed as it constantly fails. Make this project list be evaluated through "choose_projects". - projects = os.getenv('ph_projects', 'clang;clang-tools-extra;libc;libcxx;libcxxabi;lld;libunwind;mlir;polly') + projects = os.getenv('ph_projects', 'clang;clang-tools-extra;libc;libcxx;libcxxabi;lld;libunwind;mlir;polly;lldb') win_agents = {'queue': f'{queue_prefix}windows'} t = os.getenv('ph_windows_agents') if t is not None: diff --git a/scripts/choose_projects.py b/scripts/choose_projects.py index 893c76e..f4c2c8a 100755 --- a/scripts/choose_projects.py +++ b/scripts/choose_projects.py @@ -163,7 +163,7 @@ class ChooseProjects: def add_dependencies(self, projects: Set[str]) -> Set[str]: """Return projects and their dependencies. - All all dependencies to `projects` so that they can be built. + Add all dependencies to `projects` so that they can be built. """ result = set(projects) last_len = -1 diff --git a/scripts/llvm-dependencies.yaml b/scripts/llvm-dependencies.yaml index 237b8e3..b272fac 100644 --- a/scripts/llvm-dependencies.yaml +++ b/scripts/llvm-dependencies.yaml @@ -72,67 +72,12 @@ allprojects: excludedProjects: # These projects are not working with Visual Studio Compiler on Windows windows: - - lldb - llgo - libunwind - libcxxabi - openmp # blacklisting as kuhnel has trouble with the Perl installation - - debuginfo-tests # test failing - polly # test failing - flang # compilation failing with invalid compile arguments # test stuck, needs to be killed manually: instrprof-multiprocess.test - compiler-rt - linux: - # tests keep failing: - # debuginfo-tests :: llgdb-tests/asan-deque.cpp - # debuginfo-tests :: llgdb-tests/asan.c - # debuginfo-tests :: llgdb-tests/safestack.c - # debuginfo-tests :: llvm-prettyprinters/gdb/llvm-support.gdb - - debuginfo-tests - # 00:57:27.087 Failing Tests (45): - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/basic/TestImportStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/conflicts/TestStdModuleWithConflicts.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/list/TestListFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/no-std-module/TestMissingStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/queue/TestQueueFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/stack/TestStackFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/unique_ptr-dbg-info-content/TestUniquePtrDbgInfoContent.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/unique_ptr/TestUniquePtrFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/vector-bool/TestVectorBoolFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/vector/TestVectorFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py - # 00:57:27.087 lldb-api :: commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/bitset/TestDataFormatterLibcxxBitset.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/forward_list/TestDataFormatterLibcxxForwardList.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/optional/TestDataFormatterLibcxxOptional.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/TestDataFormatterLibcxxUniquePtr.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py - # 00:57:27.087 lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py - # 00:57:27.087 lldb-api :: functionalities/tsan/basic/TestTsanBasic.py - # 00:57:27.087 lldb-api :: functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py - # 00:57:27.087 lldb-api :: functionalities/tsan/global_location/TestTsanGlobalLocation.py - # 00:57:27.087 lldb-api :: functionalities/tsan/thread_leak/TestTsanThreadLeak.py - # 00:57:27.087 lldb-api :: functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py - # 00:57:27.087 lldb-api :: lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py - - lldb \ No newline at end of file + linux: [] \ No newline at end of file