Skip to content

Commit c7227c0

Browse files
authored
Revert XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS (#107349)
1 parent ad0c47c commit c7227c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/testing/xunit/xunit.console.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
<ItemGroup>
1515
<!-- Configures xunit to not print out passing tests with output when diagnostic messages are enabled. -->
16-
<SetScriptCommands Condition="'$(OS)' != 'Windows_NT'" Include="set XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1" />
17-
<SetScriptCommands Condition="'$(OS)' == 'Windows_NT'" Include="export XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1" />
16+
<SetScriptCommands Condition="'$(TargetOS)' == 'windows'" Include="set XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1" />
17+
<SetScriptCommands Condition="'$(TargetOS)' != 'windows'" Include="export XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1" />
1818
</ItemGroup>
1919

2020
<PropertyGroup Condition="'$(BundleXunitRunner)' == 'true'">

0 commit comments

Comments
 (0)