Skip to content

Skip forwarding entrypoint library name to Android application Main()#51397

Merged
marek-safar merged 1 commit intodotnet:mainfrom
akoeplinger:skip-entrypoint-forwarding
Apr 16, 2021
Merged

Skip forwarding entrypoint library name to Android application Main()#51397
marek-safar merged 1 commit intodotnet:mainfrom
akoeplinger:skip-entrypoint-forwarding

Conversation

@akoeplinger
Copy link
Member

Some of the Android runtime tests were recently broken because they got an "entryPointLibName=" argument in their Main args.
This argument is normally used to run a specific test:

foreach (string testToRun in GetTestsToRun(args))

After 1a98ba0 we were passing the entryPointLibName down to the managed app args even though it's only supposed to be used to tell the runtime which assembly to run.

@ghost
Copy link

ghost commented Apr 16, 2021

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

Some of the Android runtime tests were recently broken because they got an "entryPointLibName=" argument in their Main args.
This argument is normally used to run a specific test:

foreach (string testToRun in GetTestsToRun(args))

After 1a98ba0 we were passing the entryPointLibName down to the managed app args even though it's only supposed to be used to tell the runtime which assembly to run.

Author: akoeplinger
Assignees: -
Labels:

area-Infrastructure-mono

Milestone: -

Copy link
Member

@fanyang-mono fanyang-mono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for fixing this.

Some of the Android runtime tests were recently broken because they got an "entryPointLibName=<test assembly name>" argument in their Main args.
This argument is normally used to run a specific test: https://github.com/dotnet/runtime/blob/dd63ea2e6a9cc6f2661b817d15e558fc6605fa17/src/tests/JIT/HardwareIntrinsics/Arm/Shared/Program.cs#L24

After dotnet@1a98ba0 we were passing the `entryPointLibName` down to the managed app args even though it's only supposed to be used to tell the runtime which assembly to run.
@akoeplinger akoeplinger force-pushed the skip-entrypoint-forwarding branch from b9d04f1 to 3d3c334 Compare April 16, 2021 16:51
@marek-safar marek-safar merged commit f26bc6a into dotnet:main Apr 16, 2021
@akoeplinger akoeplinger deleted the skip-entrypoint-forwarding branch April 19, 2021 09:23
@ghost ghost locked as resolved and limited conversation to collaborators May 19, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants