Use netcore3.0 CoreCLR for R2R testing (#6603)
Replace use of 2.1 runtime with a recent version from master targetting netcoreapp3.0. This version now includes System.Runtime.Intrinsics, which was previously named System.Runtime.Intrinsics.Experimental (and lived in a separate Nuget package) meaning the test drop we used couldn't bind against it. runtest.cmd /coreclr all /mode readytorun fail rate improved from 489 -> 346 (2001/2347 or 85% pass rate).
This commit is contained in:
Родитель
a6ea318853
Коммит
cf46e303b1
|
@ -2,19 +2,26 @@
|
|||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||
<TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
|
||||
<RuntimeIdentifiers>$(NuPkgRid)</RuntimeIdentifiers>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<NugetTargetMoniker>.NETCoreApp,Version=v3.0</NugetTargetMoniker>
|
||||
<NugetTargetMonikerShort>netcoreapp3.0</NugetTargetMonikerShort>
|
||||
<RidSpecificAssets>true</RidSpecificAssets>
|
||||
<OutputPath>$(IntermediateOutputRootPath)CoreClrRuntime</OutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETCore.App">
|
||||
<Version>2.1.2</Version>
|
||||
<Version>3.0.0-preview1-27101-02</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.NETCore.TestHost">
|
||||
<Version>2.0.8</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
|
||||
<Version>4.6.0-preview.18571.1</Version>
|
||||
</PackageReference>
|
||||
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче