Skip to content

Fix the new diagnostic formatter adding extra whitespace on Windows #66061

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
May 24, 2023

Conversation

hjyamauchi
Copy link
Contributor

The swift driver emits extra newlines because it applies the LF -> CRLF conversions again on the outpt from the child processes. Fix it by using the binary mode when outputting the output from the child processes.

Fixes: #64413

@hjyamauchi hjyamauchi requested a review from artemcm as a code owner May 22, 2023 18:30
@compnerd
Copy link
Member

@swift-ci please test Windows platform

@compnerd
Copy link
Member

@swift-ci please test

@hjyamauchi
Copy link
Contributor Author

Please rerun the CI

@artemcm
Copy link
Contributor

artemcm commented May 23, 2023

@swift-ci please test

The swift driver emits extra newlines because it applies the LF ->
CRLF conversions again on the outpt from the child processes. Fix it
by using the binary mode when outputting the output from the child
processes.

Fixes: swiftlang#64413
@hjyamauchi
Copy link
Contributor Author

Disabled the test for the swift_swift_parser case.

Please kick off another test run.

@compnerd
Copy link
Member

@swift-ci please test

@compnerd compnerd merged commit 90fd254 into swiftlang:main May 24, 2023
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.

New diagnostic formatter adds extra whitespace on Windows
5 participants