Skip to content

Log to stdout on non-Windows platforms #1763

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

Closed
wants to merge 1 commit into from

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 16, 2024

We need to print to stdout on Windows because printing to stderr causes XCTest execution to deadlock when running tests in parallel on Windows.

But printing to stdout causes XCTest to interleave process output with its own output, which creates hard-to-read log. To avoid this, print to stderr on all other platforms.

We need to print to stdout on Windows because printing to stderr causes XCTest execution to deadlock when running tests in parallel on Windows.

But printing to stdout causes XCTest to interleave process output with its own output, which creates hard-to-read log. To avoid this, print to stderr on all other platforms.
@ahoppen
Copy link
Member Author

ahoppen commented Oct 16, 2024

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Oct 16, 2024

Closing in favor of #1765

@ahoppen ahoppen closed this Oct 16, 2024
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.

2 participants