Skip to content

dotnet test MTP: Support live output from test app processes#53495

Draft
Youssef1313 wants to merge 2 commits intorelease/10.0.3xxfrom
dev/ygerges/redirect-mtp
Draft

dotnet test MTP: Support live output from test app processes#53495
Youssef1313 wants to merge 2 commits intorelease/10.0.3xxfrom
dev/ygerges/redirect-mtp

Conversation

@Youssef1313
Copy link
Member

MTP side change is microsoft/testfx#7564

Fixes #51615

This needs manual validation that hasn't been done yet.


private ProcessStartInfo CreateProcessStartInfo()
{
var shouldRedirect = _handler.ShouldRedirectOutputAndError;
Copy link
Member Author

Choose a reason for hiding this comment

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

This cannot work :/
We haven't started the process, so we don't know the protocol version or anything.

Looks like it's gonna be almost impossible to change this to avoid output/err redirection without being a big breaking change. 😕

@Youssef1313 Youssef1313 force-pushed the dev/ygerges/redirect-mtp branch from 4155c21 to d59da55 Compare March 18, 2026 13:00
@Youssef1313 Youssef1313 force-pushed the dev/ygerges/redirect-mtp branch from d59da55 to 6086399 Compare March 18, 2026 13:19
@Youssef1313 Youssef1313 changed the title Avoid process output/error redirection completely for MTP on protocol version 1.1.0 dotnet test MTP: Support live output from test app processes Mar 18, 2026
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.

1 participant