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

[release/9.0.1xx] Fix writing dotnet test results when terminal logger is off #43871

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Oct 3, 2024

When terminal logger is turned off we need to know it before calling msbuild to force it into mode that forwards standard output from child nodes, and disabling node reuse to stay compatible with the previous behavior.

To achieve this we need the same logic as terminal logger to detect the option, environment variables and console capability

Copying code from MSBuild here, to hopefully replace this in the future with MSBuild provided solution.

Fix microsoft/vstest#10358

@nohwnd nohwnd requested a review from a team as a code owner October 3, 2024 14:29
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-DotNet Test untriaged Request triage from a team member labels Oct 3, 2024
@nohwnd nohwnd removed the untriaged Request triage from a team member label Oct 3, 2024
@nohwnd nohwnd changed the title Fix writing dotnet test results when terminal logger is off [release/9.0.1xx] Fix writing dotnet test results when terminal logger is off Oct 3, 2024
@nohwnd nohwnd merged commit 400deeb into dotnet:release/9.0.1xx Oct 4, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants