Skip to content

Commit 9661809

Browse files
elinor-fungpull[bot]
authored andcommitted
Update host test RID fallbacks to include arm64 (#109235)
When running against a mock coreclr, host tests create a minimal Microsoft.NETCore.App.deps.json that also includes a sparse fallback RID graph. That graph gets used in tests for RID-specific asset resolution that target explicitly enabling the RID fallback graph. This change adds arm64 to the mock RID fallback graph, which should allow those tests to run properly on arm64.
1 parent be7f032 commit 9661809

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/installer/tests/TestUtils/NetCoreAppBuilder.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,17 @@ public NetCoreAppBuilder WithStandardRuntimeFallbacks()
351351
WithRuntimeFallbacks("win10-x64", "win10", "win-x64", "win", "any")
352352
.WithRuntimeFallbacks("win10-x86", "win10", "win-x86", "win", "any")
353353
.WithRuntimeFallbacks("win10", "win", "any")
354+
.WithRuntimeFallbacks("win-arm64", "win", "any")
354355
.WithRuntimeFallbacks("win-x64", "win", "any")
355356
.WithRuntimeFallbacks("win-x86", "win", "any")
356357
.WithRuntimeFallbacks("win", "any")
358+
.WithRuntimeFallbacks("linux-arm64", "linux", "any")
357359
.WithRuntimeFallbacks("linux-x64", "linux", "any")
358-
.WithRuntimeFallbacks("linux-musl-x64", "linux", "any")
360+
.WithRuntimeFallbacks("linux-musl-arm64", "linux-musl", "linux", "any")
361+
.WithRuntimeFallbacks("linux-musl-x64", "linux-musl", "linux", "any")
359362
.WithRuntimeFallbacks("linux", "any")
360363
.WithRuntimeFallbacks("osx.10.12-x64", "osx-x64", "osx", "any")
364+
.WithRuntimeFallbacks("osx-arm64", "osx", "any")
361365
.WithRuntimeFallbacks("osx-x64", "osx", "any");
362366
}
363367

0 commit comments

Comments
 (0)