Skip to content

Conversation

@charles-zablit
Copy link
Contributor

@charles-zablit charles-zablit commented Oct 22, 2025

We cannot break upstream lldb tests from swiftlang/swift. This patch adds the check-lldb-swift target through the lldb-swift test, which will only check the swift subset of lldb tests.

rdar://162128596

@charles-zablit
Copy link
Contributor Author

@swift-ci please test windows

utils/build.ps1 Outdated
LLVM_UNITTEST_LINK_FLAGS = "$(Get-SwiftSDK -OS Windows -Identifier Windows)\usr\lib\swift\windows\$($Platform.Architecture.LLVMName)\swiftCore.lib";
}

if ($env:ONLY_SWIFT_LLDB_TESTS -eq '1') {
Copy link
Member

Choose a reason for hiding this comment

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

I really would rather not introduce this type of behaviour in build.ps1. Can we sink this check into lit itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would using the check-lldb-swift target be better? https://github.com/swiftlang/llvm-project/blob/b6f1a41420ebffc7f043b16080ef0e8afde4d2cc/lldb/test/CMakeLists.txt#L302-L306

we could have lldb and lldb-swift in the list of tests that build.ps1 supports

@charles-zablit
Copy link
Contributor Author

charles-zablit commented Oct 24, 2025

I opened an alternative PR here: swiftlang/llvm-project#11695

@charles-zablit charles-zablit force-pushed the charles-zablit/windows/lldb-only-run-swift-test-subset branch from 2be681e to 5e5b70e Compare October 24, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants