Skip to content

Commit 95f7f7a

Browse files
authored
[wasm] Add disabled tests to ProjectExclusions (#65877)
1 parent ef785f5 commit 95f7f7a

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/libraries/tests.proj

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@
189189

190190
<ItemGroup Condition="'$(TargetOS)' == 'iOS' and '$(RunDisablediOSTests)' != 'true'">
191191
<ProjectExclusions Include="$(MSBuildThisFileDirectory)*\tests\**\*.Tests.csproj" />
192-
192+
193193
<!-- Ref.Emit in XSLCompiledTransform -->
194194
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Private.Xml\tests\Xslt\XslCompiledTransformApi\System.Xml.Xsl.XslCompiledTransformApi.Tests.csproj" />
195-
195+
196196
<!-- Functional tests on devices have problems with return codes from mlaunch -->
197197
<ProjectExclusions Include="$(RepoRoot)\src\tests\FunctionalTests\$(TargetOS)\Device\**\*.Test.csproj" />
198198
</ItemGroup>
@@ -214,9 +214,9 @@
214214
<!-- Has deps that JIT, need re-done in order to pass -->
215215
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Hosting/tests/UnitTests/Microsoft.Extensions.Hosting.Unit.Tests.csproj" />
216216

217-
<!--
217+
<!--
218218
Test suites hang and time out.
219-
https://github.com/dotnet/runtime/issues/60713
219+
https://github.com/dotnet/runtime/issues/60713
220220
-->
221221
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.DependencyInjection/tests/DI.External.Tests/Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests.csproj" />
222222
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.NetworkInformation/tests/FunctionalTests/System.Net.NetworkInformation.Functional.Tests.csproj" />
@@ -230,11 +230,11 @@
230230
<!-- Excluding all tests for aot catalyst until building on helix works properly -->
231231
<ItemGroup Condition="('$(TargetOS)' == 'MacCatalyst' and '$(BuildTestsOnHelix)' == 'true') and '$(RunDisablediOSTests)' != 'true'">
232232
<ProjectExclusions Include="$(MSBuildThisFileDirectory)*\tests\**\*.Tests.csproj" />
233-
233+
234234
<!-- No functional tests until helix stabilizes -->
235235
<ProjectExclusions Include="$(RepoRoot)\src\tests\FunctionalTests\iOS\Simulator\**\*.Test.csproj" />
236236
</ItemGroup>
237-
237+
238238
<ItemGroup Condition="'$(TargetOS)' == 'MacCatalyst'">
239239
<ProjectExclusions Include="$(RepoRoot)/src/tests/FunctionalTests/iOS/Simulator/XmlFormatWriterGeneratorAOT/iOS.Simulator.XmlFormatWriterGeneratorAot.Test.csproj" />
240240
</ItemGroup>
@@ -283,6 +283,14 @@
283283
<ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(RunDisabledWasmTests)' != 'true'">
284284
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.NETCore.Platforms\tests\Microsoft.NETCore.Platforms.Tests.csproj" />
285285

286+
<!-- This test is disabled via an assembly-level attribute in source. We exclude it here to avoid queuing/running a work item entirely.
287+
https://github.com/dotnet/runtime/issues/35970 -->
288+
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Caching.Memory\tests\Microsoft.Extensions.Caching.Memory.Tests.csproj" />
289+
290+
<!-- This test is disabled via an assembly-level attribute in source. We exclude it here to avoid queuing/running a work item entirely.
291+
https://github.com/mono/mono/issues/16417 -->
292+
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.ComponentModel.Composition\tests\System.ComponentModel.Composition.Tests.csproj" />
293+
286294
<!-- Mono-Browser ignores runtimeconfig.template.json (e.g. for this it has "System.Globalization.EnforceJapaneseEraYearRanges": true) -->
287295
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Globalization.Calendars\tests\CalendarTestWithConfigSwitch\System.Globalization.CalendarsWithConfigSwitch.Tests.csproj" />
288296

0 commit comments

Comments
 (0)