File tree 2 files changed +12
-8
lines changed
2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 18
18
<!-- Filter out failing (wrong framwork, platform, runtime or activeissue) tests -->
19
19
<TestCaseFilter >$$TESTCASEFILTER$$</TestCaseFilter >
20
20
<DotNetHostPath >$$DOTNETHOSTPATH$$</DotNetHostPath >
21
+ <EnvironmentVariables >
22
+ <!-- Configures xunit to not print out passing tests with output when diagnostic messages are enabled. -->
23
+ <XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS >1</XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS >
24
+ </EnvironmentVariables >
21
25
</RunConfiguration >
22
26
<LoggerRunSettings >
23
27
<Loggers >
Original file line number Diff line number Diff line change 1
1
<Project >
2
+
2
3
<PropertyGroup >
3
4
<CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
4
5
<TestResultsName >testResults.xml</TestResultsName >
5
6
<UseXunitExcludesTxtFile Condition =" '$(TargetOS)' == 'android' or '$(TargetOS)' == 'ios' or '$(TargetOS)' == 'iossimulator' or '$(TargetOS)' == 'tvos' or '$(TargetOS)' == 'tvossimulator' or '$(TargetOS)' == 'maccatalyst'" >true</UseXunitExcludesTxtFile >
6
7
</PropertyGroup >
7
8
9
+ <ItemGroup >
10
+ <!-- Configures xunit to not print out passing tests with output when diagnostic messages are enabled. -->
11
+ <SetScriptCommands Condition =" '$(TargetOS)' == 'windows'" Include =" set XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1" />
12
+ <SetScriptCommands Condition =" '$(TargetOS)' != 'windows'" Include =" export XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1" />
13
+ </ItemGroup >
14
+
8
15
<PropertyGroup Condition =" '$(TargetsMobile)' != 'true' and '$(TestSingleFile)' != 'true'" >
9
16
<_depsFileArgument Condition =" '$(GenerateDependencyFile)' == 'true'" >--depsfile $(AssemblyName).deps.json</_depsFileArgument >
10
17
<RunScriptCommand Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" >"$(RunScriptHost)" exec --runtimeconfig $(AssemblyName).runtimeconfig.json $(_depsFileArgument) xunit.console.dll</RunScriptCommand >
85
92
CopyToOutputDirectory =" PreserveNewest"
86
93
Visible =" false" />
87
94
</ItemGroup >
88
-
89
- <!-- Workaround for https://github.com/xunit/xunit/issues/1651 -->
90
- <ItemGroup Condition =" '$(ArchiveTests)' != 'true'" >
91
- <None Remove =" $(Pkgxunit_runner_visualstudio)\build\net452\xunit.runner.utility.net452.dll" />
92
- <None Remove =" $(Pkgxunit_runner_visualstudio)\build\net452\xunit.runner.reporters.net452.dll" />
93
- <None Remove =" $(Pkgxunit_runner_visualstudio)\build\netcoreapp2.1\xunit.runner.utility.netcoreapp10.dll" />
94
- <None Remove =" $(Pkgxunit_runner_visualstudio)\build\netcoreapp2.1\xunit.runner.reporters.netcoreapp10.dll" />
95
- </ItemGroup >
96
95
</Target >
96
+
97
97
</Project >
You can’t perform that action at this time.
0 commit comments