Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[lldb][windows] enable CI tests#198906

Merged
charles-zablit merged 3 commits into
llvm:mainfrom
charles-zablit:cz/lldb/windows/enable-ci-tests
Jun 4, 2026
Merged

[lldb][windows] enable CI tests#198906
charles-zablit merged 3 commits into
llvm:mainfrom
charles-zablit:cz/lldb/windows/enable-ci-tests

Conversation

@charles-zablit
Copy link
Copy Markdown
Contributor

@charles-zablit charles-zablit commented May 20, 2026

This patch enables CI testing for lldb on Windows. It skips dependent PR testing for now until we enable daemonized testing.

This patch also skips TestDAP_restart_console on Windows because it's failing on the bots and is unresolved in the docker container. See #200840 fore more details.

fix #132800.

@charles-zablit charles-zablit self-assigned this May 20, 2026
@llvmorg-github-actions llvmorg-github-actions Bot added the infrastructure Bugs about LLVM infrastructure label May 20, 2026
@llvmorg-github-actions
Copy link
Copy Markdown

llvmorg-github-actions Bot commented May 20, 2026

@llvm/pr-subscribers-lldb

@llvm/pr-subscribers-infrastructure

Author: Charles Zablit (charles-zablit)

Changes

fix #132800.


Full diff: https://github.com/llvm/llvm-project/pull/198906.diff

1 Files Affected:

  • (modified) .ci/compute_projects.py (+1-6)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 97caec7ad947d..496fad5f5ed70 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -201,12 +201,7 @@
 # where a project can be built but its tests are not yet stable on that
 # platform, so we still want a compile-time signal.
 PROJECT_CHECK_TARGETS_OVERRIDE = {
-    "Windows": {
-        # TODO(issues/132800): LLDB tests need environment setup on Windows.
-        # In the meantime, at least compile lldb and lldb-dap to catch
-        # breakage.
-        "lldb": "lldb lldb-dap",
-    },
+    "Windows": {},
 }
 
 

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

🐧 Linux x64 Test Results

  • 206987 tests passed
  • 5764 tests skipped

✅ The build succeeded and all tests passed.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

🪟 Windows x64 Test Results

  • 137057 tests passed
  • 5510 tests skipped

✅ The build succeeded and all tests passed.

Copy link
Copy Markdown
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test case in compute_projects_test.py?

I'm also not sure that we want to run LLDB by default on clang/LLVM changes like we do on Linux given we're a bit more constrained timing wise on Windows, although that might change soon with daemonized testing.

Comment thread .ci/compute_projects.py Outdated
@@ -201,12 +201,7 @@
# where a project can be built but its tests are not yet stable on that
# platform, so we still want a compile-time signal.
PROJECT_CHECK_TARGETS_OVERRIDE = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably drop this completely now.

@charles-zablit charles-zablit force-pushed the cz/lldb/windows/enable-ci-tests branch from 58cb78f to 724f518 Compare May 29, 2026 14:57
@charles-zablit charles-zablit marked this pull request as draft May 29, 2026 14:58
@charles-zablit
Copy link
Copy Markdown
Contributor Author

Converting to draft until all the tests pass.

@charles-zablit charles-zablit requested a review from Nerixyz June 1, 2026 14:59
@charles-zablit charles-zablit marked this pull request as ready for review June 1, 2026 15:00
@charles-zablit
Copy link
Copy Markdown
Contributor Author

ping @boomanaiden154, all the tests are passing now.

Copy link
Copy Markdown
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this largely looks good. If we can split off the LLDB test changes I think this should be good to go.

class TestDAP_restart_console(lldbdap_testcase.DAPTestCaseBase):
@skipIfAsan
@expectedFailureWindows
@skipIfWindows # https://github.com/llvm/llvm-project/issues/200840
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be split into a separate PR for LLDB people to look at?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I opened #201587 to skip it. I will rebase once it's merged.

charles-zablit added a commit that referenced this pull request Jun 4, 2026
`TestDAP_restart_console` is already failing on Windows. It reliably
crashes (UNRESOLVED) on some Windows version, including inside Docker
containers.

This is preventing us from enabling pre-merge CI testing for lldb on
Windows in #198906.

This patch skips the test entirely. See
#200840 for more details.
@charles-zablit charles-zablit force-pushed the cz/lldb/windows/enable-ci-tests branch from 3bc100c to 4a96f22 Compare June 4, 2026 14:03
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_lldb(self):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep this test unless there's a reason I'm missing for why we're dropping it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to say that I removed them because lldb was added to EXCLUDE_DEPENDENTS_WINDOWS, but that impacts test_lldb_windows, not this test. I've reverted that change.

llvm-upstreamsync Bot pushed a commit to qualcomm/cpullvm-toolchain that referenced this pull request Jun 4, 2026
`TestDAP_restart_console` is already failing on Windows. It reliably
crashes (UNRESOLVED) on some Windows version, including inside Docker
containers.

This is preventing us from enabling pre-merge CI testing for lldb on
Windows in llvm/llvm-project#198906.

This patch skips the test entirely. See
llvm/llvm-project#200840 for more details.
llvm-sync Bot pushed a commit to arm/arm-toolchain that referenced this pull request Jun 4, 2026
`TestDAP_restart_console` is already failing on Windows. It reliably
crashes (UNRESOLVED) on some Windows version, including inside Docker
containers.

This is preventing us from enabling pre-merge CI testing for lldb on
Windows in llvm/llvm-project#198906.

This patch skips the test entirely. See
llvm/llvm-project#200840 for more details.
Copy link
Copy Markdown
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@charles-zablit charles-zablit merged commit e492f11 into llvm:main Jun 4, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Bugs about LLVM infrastructure lldb

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Enable lldb on windows premerge

2 participants