Skip to content

Improve WEX logging through gtest on linux#8521

Open
tex3d wants to merge 1 commit into
microsoft:mainfrom
tex3d:wex-logging
Open

Improve WEX logging through gtest on linux#8521
tex3d wants to merge 1 commit into
microsoft:mainfrom
tex3d:wex-logging

Conversation

@tex3d
Copy link
Copy Markdown
Contributor

@tex3d tex3d commented Jun 4, 2026

Previously, all important test logs from failing tests were omitted, only surfacing a generic failure message for the test method. Figuring out which test within that method failed, or how it failed required debugging the test failure.

This change adds buffering for Comment logging, where all of those important details were kept. It throws away the comment logs if no failure occurs, but emits them if the current test fails within the StartGroup()/EndGroup() pair. This pair of calls is used around each test file in tests like the CompilerTest.Batch* tests.

Code authored by copilot.

Previously, all important test logs from failing tests were omitted, only surfacing a generic failure message for the test method. Figuring out which test within that method failed, or how it failed required debugging the test failure.

This change adds buffering for Comment logging, where all of those important details were kept. It throws away the comment logs if no failure occurs, but emits them if the current test fails within the StartGroup()/EndGroup() pair. This pair of calls is used around each test file in tests like the CompilerTest.Batch* tests.

Code authored by copilot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant