Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lldb] Check runtime dependencies of SwiftREPL tests in local lit config #9421

Conversation

weliveindetail
Copy link
Member

The SwiftREPL tests run repl_swift.exe, which manually loads a few external dependencies at runtime. In particular swiftCore.dll and swiftrt.obj.

These binaries need to be in fixed locations and they only exists if the Swift runtime was built correctly. We cannot check them at configuration time, because they might not exist yet. It seems worth checking whether they exist and printing a warning otherwise, because the resulting test failures aren't very obvious.

…lit config

These binaries only exists if the Swift runtime was built correctly.
We cannot check them at configuration time, because they might not exist yet.
@weliveindetail weliveindetail force-pushed the lldb-test-swiftrepl-runtime-deps branch from 36718d5 to 54c7f58 Compare October 21, 2024 09:24
@weliveindetail weliveindetail changed the base branch from next to stable/20240723 October 21, 2024 09:24
@weliveindetail
Copy link
Member Author

To all the new reviewers: sorry for the noise, I had to update the base branch

@hjyamauchi
Copy link

@swift-ci please test

@weliveindetail
Copy link
Member Author

Thanks for giving it a try!

Rebranch linux bot is still broken.
Windows build failed with an unrelated issue:

WinSDKAdditions.swift:27:35: error: cannot convert value of type 'Int32' to expected argument type 'Int'

@hjyamauchi
Copy link

@swift-ci please test Linux Platform

@hjyamauchi
Copy link

@swift-ci please test Windows Platform

@hjyamauchi
Copy link

The issue with WinSDKAdditions.swift:27:35: error: cannot convert value of type 'Int32' to expected argument type 'Int' should be already fixed.

@weliveindetail
Copy link
Member Author

This will be part of #9513

@weliveindetail weliveindetail deleted the lldb-test-swiftrepl-runtime-deps branch November 5, 2024 17:50
@weliveindetail weliveindetail restored the lldb-test-swiftrepl-runtime-deps branch November 7, 2024 12:24
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