-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Copy link
Labels
area-Infrastructure-coreclrgood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributors
Milestone
Description
Description
The System.Globalization.Tests/Invariant/Invariant.Tests.csproj
fails on CoreCLR Android because the invariant-globalization flag isn't propagated to the runtime at startup. The project file contains
<InvariantGlobalization>true</InvariantGlobalization>
but the CoreCLR initialization code in monodroid-coreclr.c
does not forward this setting as an appcontext variable, so the runtime never runs in invariant-globalization mode.
Reproduction Steps
Build the runtime:
build.sh -arch arm64 -os android -s clr.runtime+clr.alljits+clr.corelib+clr.nativecorelib+clr.tools+clr.packages+libs+libs.tests+host+packs -c Release /p:ArchiveTests=true /p:RunSmokeTestsOnly=True
Run the apk using Android Studio.
Expected behavior
The tests pass on the CI: https://dev.azure.com/dnceng-public/public/_build?definitionId=223
Actual behavior
The tests fail on the CI.
Metadata
Metadata
Assignees
Labels
area-Infrastructure-coreclrgood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributors
Type
Projects
Status
Done