Skip to content

[android] Ensure unique assembly names in runtime test bundles for android #90661

@kotlarmilos

Description

@kotlarmilos

Description

Runtime tests for mobile targets are grouped into bundles, where each bundle contains multiple entry points. For instance, Loader/classloader is an app bundle that contains a set test assemblies. These assemblies are passed as entry points to the app when particular tests are executed. Currently, all assemblies are copied to the root directory of a given bundle on android platforms. This means if two or more assemblies within one test group have the same names, one will overwrite the other. This could potentially lead to runtime errors.

To address this issue, the proposed solution is to create a distinct subdirectory for each test within the bundle. This ensures that assemblies with the same names won't overwrite one another. For example, for apple mobile targets, tests are copied in subdirectories named testdir-testname.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions