microsoft / vstest

Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
MIT License
870 stars 316 forks source link

Handle ansi escape in terminal logger reporter #5084

Closed nohwnd closed 1 week ago

nohwnd commented 3 weeks ago

DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION enables forwarding ansi, which will write reset before every message we output to process output and that breaks our simple protocol based on strings in output.

Fix https://github.com/dotnet/sdk/issues/41299

nohwnd commented 3 weeks ago

/azp run

azure-pipelines[bot] commented 3 weeks ago
Azure Pipelines successfully started running 1 pipeline(s).
nohwnd commented 3 weeks ago

/azp run

azure-pipelines[bot] commented 3 weeks ago
Azure Pipelines successfully started running 1 pipeline(s).
nohwnd commented 3 weeks ago

/azp run

azure-pipelines[bot] commented 3 weeks ago
Azure Pipelines successfully started running 1 pipeline(s).