mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
As with https://github.com/dotnet/corefx/pull/9468 and https://github.com/dotnet/corefx/pull/9466, this commit focuses on reducing the total, outerloop running time of our worst-offending test suites. This one is on the System.Threading.Tasks tests. Some of the tests are not in good shape, e.g. it's not clear to me that the TaskCancelWaitTests are actually verifying everything they should, even though they're spending a lot of time doing it. Changes: - Reduced artificially long wait times in TaskAwaiter, IAsyncResult, TaskCancelWaitTests, TaskStatusTests, CESchedulerPairTests, and Coverage tests - Reduced size of workload in TaskCancelWaitTests, TaskContinueWithAllAnyTests, and TaskWaitAllAnyTests - Ensured that the ThreadPool was ramped up to serve several tests expecting more threads available - Removed some unnecessary spinning Commit migrated from https://github.com/dotnet/corefx/commit/a6f8d2f00a841ecb78ec0dfec723d10d9a88a5fa
54 lines
2.5 KiB
XML
54 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{DE29C320-2ECA-43FD-9F41-6F4F6C6BACD5}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>System.Threading.Tasks.Parallel.Tests</RootNamespace>
|
|
<AssemblyName>System.Threading.Tasks.Parallel.Tests</AssemblyName>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<StartupObject />
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="$(CommonTestPath)\System\Diagnostics\Tracing\TestEventListener.cs">
|
|
<Link>Common\System\Diagnostics\Tracing\TestEventListener.cs</Link>
|
|
</Compile>
|
|
<Compile Include="BreakTests.cs" />
|
|
<Compile Include="EtwTests.cs" />
|
|
<Compile Include="ParallelFor.cs" />
|
|
<Compile Include="ParallelForBoundary.cs" />
|
|
<Compile Include="ParallelForeachPartitioner.cs" />
|
|
<Compile Include="ParallelForTest.cs" />
|
|
<Compile Include="ParallelForTests.cs" />
|
|
<Compile Include="ParallelInvokeTest.cs" />
|
|
<Compile Include="ParallelLoopResultTests.cs" />
|
|
<Compile Include="ParallelStateTest.cs" />
|
|
<Compile Include="RangePartitioner1Chunk.cs" />
|
|
<Compile Include="RangePartitionerTests.cs" />
|
|
<Compile Include="RangePartitionerThreadSafetyTests.cs" />
|
|
<Compile Include="RespectParentCancellationTest.cs" />
|
|
<Compile Include="XunitAssemblyAttributes.cs" />
|
|
<Compile Include="$(CommonTestPath)\System\Threading\ThreadPoolHelpers.cs">
|
|
<Link>CommonTest\System\Threading\ThreadPoolHelpers.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\pkg\System.Threading.Tasks.Parallel.pkgproj">
|
|
<Project>{A6BA5DF2-772E-4DA1-BC2D-89FF4A21EE4F}</Project>
|
|
<Name>System.Threading.Tasks.Parallel</Name>
|
|
<Private>true</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="project.json" />
|
|
</ItemGroup>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project> |