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

Fix not failing when build fails #46051

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jan 16, 2025

When build fails to finish, add error count and fail the run.

This problem is caused by build being "additional" work that is not a test, so we did not report it as failure.

Fix microsoft/testfx#4683

image

Working towards #45927

@nohwnd nohwnd requested a review from a team as a code owner January 16, 2025 13:53
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-DotNet Test untriaged Request triage from a team member labels Jan 16, 2025
Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

Let's ensure all the changes to TerminalTestReporter are backported to testfx repo. It feels like we are already quite out of sync.

@nohwnd
Copy link
Member Author

nohwnd commented Jan 17, 2025

These changes are not really applicable for the terminal logger that is used in MTP (hence having this bug), there the only source of problems is either crash, or failed tests, all of which are already captured by the infra.

@nohwnd
Copy link
Member Author

nohwnd commented Jan 17, 2025

But I will try to make a script to sync. Once my hands a bit free-er.

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.

dotnet test build failures are not reported in terminal logger, and run succeeds
2 participants