mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 08:16:47 +00:00
Enable LLDB tests in Linux pre-merge CI (#94208)
This patch removes LLDB from a list of projects that are excluded from building and testing on pre-merge CI on Linux. Windows environment needs to be prepared in order to test LLDB (https://github.com/llvm/llvm-project/pull/94208#issuecomment-2146256857), but we don't have enough maintenance resources to do that at the moment. Because LLDB has been in the list of projects that need to be tested on Clang changes, this PR make this happen on Linux. This seems to be the consensus in the discussion of this PR.
This commit is contained in:
parent
82f6cde8a9
commit
d4eed43bad
@ -153,7 +153,6 @@ function exclude-linux() {
|
||||
for project in ${projects}; do
|
||||
case ${project} in
|
||||
cross-project-tests) ;; # tests failing
|
||||
lldb) ;; # tests failing
|
||||
openmp) ;; # https://github.com/google/llvm-premerge-checks/issues/410
|
||||
*)
|
||||
echo "${project}"
|
||||
@ -170,7 +169,7 @@ function exclude-windows() {
|
||||
compiler-rt) ;; # tests taking too long
|
||||
openmp) ;; # TODO: having trouble with the Perl installation
|
||||
libc) ;; # no Windows support
|
||||
lldb) ;; # tests failing
|
||||
lldb) ;; # custom environment requirements (https://github.com/llvm/llvm-project/pull/94208#issuecomment-2146256857)
|
||||
bolt) ;; # tests are not supported yet
|
||||
*)
|
||||
echo "${project}"
|
||||
@ -213,7 +212,7 @@ function check-targets() {
|
||||
echo "check-unwind"
|
||||
;;
|
||||
lldb)
|
||||
echo "check-all" # TODO: check-lldb may not include all the LLDB tests?
|
||||
echo "check-lldb"
|
||||
;;
|
||||
pstl)
|
||||
echo "check-all"
|
||||
|
@ -39,6 +39,7 @@ targets="${2}"
|
||||
|
||||
echo "--- cmake"
|
||||
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
|
||||
pip install -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
|
||||
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
|
||||
-D LLVM_ENABLE_PROJECTS="${projects}" \
|
||||
-G Ninja \
|
||||
|
@ -72,7 +72,7 @@ public:
|
||||
*sema.LateParsedTemplateMap.find(FD)->second;
|
||||
sema.LateTemplateParser(sema.OpaqueParser, LPT);
|
||||
llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user