Skip to content

[5.6] SwiftDriver: address TODO about abnormal process termination #961

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

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

compnerd
Copy link
Member

This adds the handling for abnormal process termination on Windows.
With this, we can now track processes which exit abnormally, indicating
failure. This was identified by the saveTemps test which now passes on
Windows. Add an additional test case for the new message type to
differentiate the abnormal exit due to an exception from a signalled
exit which is limited to Unixish platforms.

This adds the handling for abnormal process termination on Windows.
With this, we can now track processes which exit abnormally, indicating
failure.  This was identified by the saveTemps test which now passes on
Windows.  Add an additional test case for the new message type to
differentiate the abnormal exit due to an exception from a signalled
exit which is limited to Unixish platforms.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd changed the title SwiftDriver: address TODO about abnormal process termination [5.6] SwiftDriver: address TODO about abnormal process termination Jan 3, 2022
@compnerd
Copy link
Member Author

compnerd commented Jan 3, 2022

This is needed to repair the build on Windows, but there is no 5.6 snapshot yet which prevents testing. Could we still get this merged @artemcm? (In theory there is a circular dependency here - we need this to build for Windows, which is needed to get a snapshot).

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

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

This change LGTM as a cherry-pick of #943.
@compnerd is right in that we will need this change merged in order for the 5.6 package bots to succeed once they come online.

@compnerd
Copy link
Member Author

compnerd commented Jan 4, 2022

I've tested this locally and verified that this repairs the build. The associated change for swiftlang/swift-tools-support-core#272 was merged without this change. I really dropped the ball on this, sorry about the trouble.

@DougGregor DougGregor merged commit 7c9eed8 into swiftlang:release/5.6 Jan 4, 2022
@compnerd compnerd deleted the 5.6-abnormality branch January 4, 2022 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants