File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 349349 </PropertyGroup >
350350 <Message Text =" >>> Running unit tests for Windows via command: $(TestCommand)" />
351351 <!--
352- We instruct MSBuild to ignore output from the tests that matches error/warning expressions.
353- This avoids cluttering the Azure DevOps pipeline runs UI with spurious errors, while still
354- considering the exit status of the test process to determine overall pass/fail.
352+ We instruct MSBuild to ignore the exit code and output from the tests that matches
353+ error/warning expressions. This avoids cluttering the Azure DevOps pipeline runs UI with
354+ spurious errors, while still considering the exit status of the test process to determine
355+ overall pass/fail.
355356 -->
356- <Exec ConsoleToMsBuild =" true" IgnoreStandardErrorWarningFormat =" true" Command =" $(TestCommand)" />
357+ <Exec
358+ ConsoleToMsBuild =" true"
359+ IgnoreExitCode =" true"
360+ IgnoreStandardErrorWarningFormat =" true"
361+ Command =" $(TestCommand)" />
357362 </Target >
358363
359364 <!-- Run all flaky unit tests applicable to Unix. -->
375380 <TestCommand >$([System.Text.RegularExpressions.Regex]::Replace($(TestCommand), "\s+", " "))</TestCommand >
376381 </PropertyGroup >
377382 <Message Text =" >>> Running unit tests for Unix via command: $(TestCommand)" />
378- <Exec ConsoleToMsBuild =" true" IgnoreStandardErrorWarningFormat =" true" Command =" $(TestCommand)" />
383+ <Exec
384+ ConsoleToMsBuild =" true"
385+ IgnoreExitCode =" true"
386+ IgnoreStandardErrorWarningFormat =" true"
387+ Command =" $(TestCommand)" />
379388 </Target >
380389
381390 <!-- Run all Functional tests applicable to the host OS. -->
You can’t perform that action at this time.
0 commit comments