Skip to content

Commit d0f7182

Browse files
committed
2.1 -> 5.0 change for CoreRT tests
1 parent 083a4c0 commit d0f7182

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/BenchmarkDotNet.IntegrationTests.ManualRunning/LocalCoreRtToolchainTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void CanBenchmarkLocalCoreRtUsingRyuJit()
2929
{
3030
var config = ManualConfig.CreateEmpty()
3131
.AddJob(Job.Dry
32-
.WithRuntime(CoreRtRuntime.CoreRt21)
32+
.WithRuntime(CoreRtRuntime.CoreRt50)
3333
.WithToolchain(
3434
CoreRtToolchain.CreateBuilder()
3535
.UseCoreRtLocal(IlcPath)
@@ -43,7 +43,7 @@ public void CanBenchmarkLocalCoreRtUsingCppCodeGen()
4343
{
4444
var config = ManualConfig.CreateEmpty()
4545
.AddJob(Job.Dry
46-
.WithRuntime(CoreRtRuntime.CoreRt21)
46+
.WithRuntime(CoreRtRuntime.CoreRt50)
4747
.WithToolchain(
4848
CoreRtToolchain.CreateBuilder()
4949
.UseCoreRtLocal(IlcPath)

tests/BenchmarkDotNet.IntegrationTests/BuildTimeoutTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public void WhenBuildTakesMoreTimeThanTheTimeoutTheBuildIsCancelled()
2626

2727
var config = ManualConfig.CreateEmpty()
2828
.AddJob(Job.Dry
29-
.WithRuntime(CoreRtRuntime.CoreRt21)
29+
.WithRuntime(CoreRtRuntime.CoreRt50)
3030
.WithToolchain(CoreRtToolchain.CreateBuilder()
31-
.UseCoreRtNuGet(microsoftDotNetILCompilerVersion: "1.0.0-alpha-27408-02") // we test against specific version to keep this test stable
31+
.UseCoreRtNuGet(microsoftDotNetILCompilerVersion: "6.0.0-alpha.1.20602.1") // we test against specific version to keep this test stable
3232
.Timeout(timeout)
3333
.ToToolchain()));
3434

tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static IEnumerable<object[]> GetToolchains()
3939
new object[] { Job.Default.GetToolchain() },
4040
new object[] { InProcessEmitToolchain.Instance },
4141
#if !NETFRAMEWORK
42-
// we don't want to test CoreRT twice (for .NET 4.6 and Core 2.1) when running the integration tests (these tests take a lot of time)
42+
// we don't want to test CoreRT twice (for .NET 4.6 and 5.0) when running the integration tests (these tests take a lot of time)
4343
// we test against specific version to keep this test stable
4444
new object[] { CoreRtToolchain.CreateBuilder().UseCoreRtNuGet(microsoftDotNetILCompilerVersion: "6.0.0-alpha.1.20602.1").ToToolchain() }
4545
#endif

0 commit comments

Comments
 (0)