Skip to content

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