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

Suppress vstest terminal logger via environment variable #38286

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jan 26, 2024

Some users, such as source-build are wrapping dotnet test into msbuild exec, and don't pass all the properties to it. Reuse the existing env variable to disable the new logger so it is easy to use in CI builds.

@nohwnd nohwnd requested a review from a team as a code owner January 26, 2024 10:19
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-dotnet test untriaged Request triage from a team member labels Jan 26, 2024
@nohwnd
Copy link
Member Author

nohwnd commented Jan 26, 2024

This works together with microsoft/vstest#4853 that ensures that specifying -p:VSTestUseMSBuildOutput=true won't put this in partially enabled state. But even before the other half is merged, this is okay to merge as well.

@nohwnd nohwnd merged commit 176e8ca into dotnet:main Jan 26, 2024
@nohwnd nohwnd deleted the suppress-new-logger-via-env branch January 26, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-dotnet test untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants