|
18 | 18 | <TestAssemblies Condition="'$(TestAssemblies)' == ''">true</TestAssemblies>
|
19 | 19 | <TestPackages Condition="'$(TestPackages)' == ''">false</TestPackages>
|
20 | 20 | <TestTrimming Condition="'$(TestTrimming)' == ''">false</TestTrimming>
|
| 21 | + |
| 22 | + <RunHighAOTResourceRequiringTestsOnly Condition="'$(RunHighAOTResourceRequiringTestsOnly)' == ''">false</RunHighAOTResourceRequiringTestsOnly> |
| 23 | + |
| 24 | + <!-- Don't build samples, and functional tests on EAT, AOT, WBT, and Debugger lanes --> |
| 25 | + <RunWasmSamples Condition="'$(RunSmokeTestsOnly)' != 'true' and '$(RunHighAOTResourceRequiringTestsOnly)' != 'true' and '$(TargetOS)' == 'Browser' and '$(BuildAOTTestsOnHelix)' != 'true' and '$(TestWasmBuildTests)' != 'true' and '$(TestWasmDebuggerTests)' != 'true'">true</RunWasmSamples> |
21 | 26 | </PropertyGroup>
|
22 | 27 |
|
| 28 | + <ItemGroup Condition="'$(TargetOS)' == 'Browser'"> |
| 29 | + <!-- https://github.com/dotnet/runtime/issues/65356 - OOM while linking --> |
| 30 | + <HighAOTResourceRequiringProject Include="$(MSBuildThisFileDirectory)System.Text.Json\tests\System.Text.Json.SourceGeneration.Tests\System.Text.Json.SourceGeneration.Roslyn3.11.Tests.csproj" /> |
| 31 | + |
| 32 | + <!-- https://github.com/dotnet/runtime/issues/65411 - possible OOM when compiling |
| 33 | + System.Text.Json.SourceGeneration.Roslyn4.0.Tests.dll.bc -> .o --> |
| 34 | + <HighAOTResourceRequiringProject Include="$(MSBuildThisFileDirectory)System.Text.Json\tests\System.Text.Json.SourceGeneration.Tests\System.Text.Json.SourceGeneration.Roslyn4.0.Tests.csproj" /> |
| 35 | + |
| 36 | + <!-- https://github.com/dotnet/runtime/issues/61524 - OOM while linking --> |
| 37 | + <HighAOTResourceRequiringProject Include="$(MSBuildThisFileDirectory)System.Text.Json\tests\System.Text.Json.Tests\System.Text.Json.Tests.csproj" /> |
| 38 | + |
| 39 | + <!-- https://github.com/dotnet/runtime/issues/66647 --> |
| 40 | + <HighAOTResourceRequiringProject Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Logging.Abstractions\tests\Microsoft.Extensions.Logging.Generators.Tests\Microsoft.Extensions.Logging.Generators.Roslyn3.11.Tests.csproj" /> |
| 41 | + </ItemGroup> |
| 42 | + |
23 | 43 | <!-- Samples which are too complex for CI -->
|
24 | 44 | <ItemGroup Condition="'$(TargetOS)' == 'Browser'">
|
25 | 45 | <ProjectExclusions Include="$(MonoProjectRoot)sample\wasm\console-node-ts\Wasm.Console.Node.TS.Sample.csproj" />
|
|
37 | 57 |
|
38 | 58 | <!-- https://github.com/dotnet/runtime/issues/61756 -->
|
39 | 59 | <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Text.RegularExpressions\tests\FunctionalTests\System.Text.RegularExpressions.Tests.csproj" />
|
40 |
| - |
41 |
| - <!-- https://github.com/dotnet/runtime/issues/65356 - OOM while linking --> |
42 |
| - <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Text.Json\tests\System.Text.Json.SourceGeneration.Tests\System.Text.Json.SourceGeneration.Roslyn3.11.Tests.csproj" /> |
43 |
| - <!-- https://github.com/dotnet/runtime/issues/65411 - possible OOM when compiling |
44 |
| - System.Text.Json.SourceGeneration.Roslyn4.0.Tests.dll.bc -> .o --> |
45 |
| - <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Text.Json\tests\System.Text.Json.SourceGeneration.Tests\System.Text.Json.SourceGeneration.Roslyn4.0.Tests.csproj" /> |
46 |
| - |
47 |
| - <!-- https://github.com/dotnet/runtime/issues/61524 - OOM while linking --> |
48 |
| - <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Text.Json\tests\System.Text.Json.Tests\System.Text.Json.Tests.csproj" /> |
49 | 60 | </ItemGroup>
|
50 | 61 |
|
51 | 62 | <!-- Projects that don't support code coverage measurement. -->
|
|
365 | 376 | <ProjectExclusions Remove="$(MSBuildThisFileDirectory)System.Collections\tests\System.Collections.Tests.csproj" />
|
366 | 377 | </ItemGroup>
|
367 | 378 |
|
368 |
| - <ItemGroup Condition="'$(RunSmokeTestsOnly)' == 'true'"> |
369 |
| - <ProjectReference Include="$(MSBuildThisFileDirectory)System.Runtime\tests\System.Runtime.Tests.csproj" /> |
| 379 | + <ItemGroup> |
| 380 | + <ProjectExclusions Condition="'$(RunHighAOTResourceRequiringTestsOnly)' != 'true'" |
| 381 | + Include="@(HighAOTResourceRequiringProject)" /> |
| 382 | + </ItemGroup> |
| 383 | + |
| 384 | + <ItemGroup> |
| 385 | + <ProjectReference Condition="'$(RunSmokeTestsOnly)' == 'true'" |
| 386 | + Include="$(MSBuildThisFileDirectory)System.Runtime\tests\System.Runtime.Tests.csproj" /> |
| 387 | + <ProjectReference Condition="'$(RunHighAOTResourceRequiringTestsOnly)' == 'true'" |
| 388 | + Include="@(HighAOTResourceRequiringProject)" |
| 389 | + BuildInParallel="false" /> |
370 | 390 | </ItemGroup>
|
371 | 391 |
|
372 |
| - <ItemGroup Condition="'$(RunSmokeTestsOnly)' != 'true'"> |
| 392 | + <ItemGroup Condition="'$(RunSmokeTestsOnly)' != 'true' and '$(RunHighAOTResourceRequiringTestsOnly)' != 'true'"> |
373 | 393 | <ProjectReference Include="$(MSBuildThisFileDirectory)*\tests\**\*.Tests.csproj"
|
374 | 394 | Exclude="@(ProjectExclusions)"
|
375 | 395 | Condition="'$(TestAssemblies)' == 'true'" />
|
|
448 | 468 | <Samples_BuildInParallel Condition="'$(OS)' != 'Windows_NT'">true</Samples_BuildInParallel>
|
449 | 469 | </PropertyGroup>
|
450 | 470 |
|
451 |
| - <!-- Don't build samples, and functional tests on EAT, AOT, WBT, and Debugger lanes --> |
452 |
| - <ItemGroup Condition="'$(ArchiveTests)' == 'true' and '$(RunSmokeTestsOnly)' != 'true' and '$(TargetOS)' == 'Browser' and '$(BuildAOTTestsOnHelix)' != 'true' and '$(TestWasmBuildTests)' != 'true' and '$(TestWasmDebuggerTests)' != 'true'"> |
| 471 | + <ItemGroup Condition="'$(ArchiveTests)' == 'true' and '$(RunWasmSamples)' == 'true'"> |
453 | 472 | <ProjectReference Include="$(MonoProjectRoot)sample\wasm\**\*.Sample.csproj"
|
454 | 473 | Exclude="@(ProjectExclusions)"
|
455 | 474 | BuildInParallel="$(Samples_BuildInParallel)" />
|
|
0 commit comments