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

tests: explicitly flush stderr on exit #3042

Merged
merged 1 commit into from
Aug 14, 2021
Merged

Conversation

compnerd
Copy link
Member

It has been observed in CI that the stderr output is sometimes truncated
on failure. Explicitly flush the output to ensure that we can see the
error messages. This has been observed on Windows which does not do a
courtesy flush unlike Linux.

It has been observed in CI that the stderr output is sometimes truncated
on failure.  Explicitly flush the output to ensure that we can see the
error messages.  This has been observed on Windows which does not do a
courtesy flush unlike Linux.

Flush stdout, just in case.
@millenomi
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit 0baf557 into swiftlang:main Aug 14, 2021
@compnerd compnerd deleted the flush branch August 14, 2021 01:19
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.

3 participants