Skip to content

twister: Add choice for tests sorting into subsets #31234

@PerMac

Description

@PerMac

Currently, subsets for twister testing are created based on a dictionary sorted by platform name. This is inefficient for on-target tests in setups, where multiple various platforms are available and on-target tests can be executed in parallel on multiple boards.
I believe the execution time for on-target runs will drop down when the subsets are based on test name sorting.

The way how sorting is done now can stay as a default. However, it will be good to be able to choose test-name-based sorting. I think being able to choose a sorting variant will be beneficial for on-target tests.

Metadata

Metadata

Assignees

Labels

EnhancementChanges/Updates/Additions to existing featuresarea: TwisterTwister

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions