Capture STDERR in SDK test logs
This commit is contained in:
parent
4740b1c146
commit
65a90b6a39
1 changed files with 2 additions and 3 deletions
|
@ -212,7 +212,7 @@
|
||||||
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestConfig.xml"</TestArgs>
|
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestConfig.xml"</TestArgs>
|
||||||
<TestArgs>$(TestArgs) -xml "$(ResultsXmlPath)"</TestArgs>
|
<TestArgs>$(TestArgs) -xml "$(ResultsXmlPath)"</TestArgs>
|
||||||
<TestArgs>$(TestArgs) -html "$(ResultsHtmlPath)" $(TestRunnerAdditionalArguments)</TestArgs>
|
<TestArgs>$(TestArgs) -html "$(ResultsHtmlPath)" $(TestRunnerAdditionalArguments)</TestArgs>
|
||||||
<TestArgs>$(TestArgs) > $(ResultsStdOutPath)</TestArgs>
|
<TestArgs>$(TestArgs) > $(ResultsStdOutPath) 2>&1</TestArgs>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
|
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
|
||||||
|
@ -227,8 +227,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Exec Command="$(ToolRunPrefix)dotnet tool run $(ToolCommandName) -- $(TestArgs)"
|
<Exec Command="$(ToolRunPrefix)dotnet tool run $(ToolCommandName) -- $(TestArgs)"
|
||||||
WorkingDirectory="$(TestLocalToolFolder)"
|
WorkingDirectory="$(TestLocalToolFolder)" />
|
||||||
IgnoreStandardErrorWarningFormat="true" />
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue