Skip to content

Conversation

@tomerd
Copy link
Contributor

@tomerd tomerd commented Nov 27, 2023

motivation: fix cases where test output is formatted incorrectly due to excessive newline addition

changes: preserve output from test hartness as-is without attempting to remove oradd newlines

motivation: fix cases where test output is formattet incorrectly due to exessive newline addition

changes: preserve output from test hartness as-is without attempting to remove oradd newlines
@tomerd
Copy link
Contributor Author

tomerd commented Nov 27, 2023

fixes #6566

@tomerd
Copy link
Contributor Author

tomerd commented Nov 27, 2023

@swift-ci test

@grynspan
Copy link
Contributor

I had a PR ready to go but you beat me to it :)

// command's result output goes on stdout
// ie "swift test" should output to stdout
print($0)
print($0, terminator: "")
Copy link
Contributor

@grynspan grynspan Nov 28, 2023

Choose a reason for hiding this comment

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

There is another call site of test(outputHandler in the repo that needs the same fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Woohoo!

Copy link
Contributor

@grynspan grynspan left a comment

Choose a reason for hiding this comment

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

Some missing bits.

@tomerd
Copy link
Contributor Author

tomerd commented Nov 28, 2023

@swift-ci test

@tomerd tomerd enabled auto-merge (squash) November 28, 2023 21:58
@tomerd
Copy link
Contributor Author

tomerd commented Nov 28, 2023

@swift-ci test windows

@tomerd tomerd merged commit 2564e41 into swiftlang:main Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants