Skip to content

options: add --randomize option #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

acerv
Copy link
Collaborator

@acerv acerv commented Feb 26, 2025

Shuffle testing suites tests list when --randomize|-x option is defined.

Shuffle testing suites tests list when --randomize|-x option is defined.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
@acerv acerv added the enhancement New feature or request label Feb 26, 2025
@acerv acerv self-assigned this Feb 26, 2025
@metan-ucw
Copy link
Member

Nice!

Reviewed-by: Cyril Hrubis chrubis@suse.cz

@pevik
Copy link
Member

pevik commented Feb 26, 2025

Previous patchset with instances was merged and we don't have to follow runltp, but if we consider it useful it would be good to compare /opt/ltp/runltp -h output:

-x INSTANCES    Run multiple instances of this testsuite.
 -R              Randomize test order.

-R is already taken for RESTORE.
From my POV it's not critical if options change OTOH it would be easy to unify.

@pevik
Copy link
Member

pevik commented Feb 26, 2025

Apart from short options (if we care can be handled separately) LGTM. Thanks!

Reviewed-by: Petr Vorel <pvorel@suse.cz>

@acerv
Copy link
Collaborator Author

acerv commented Feb 26, 2025

We can do that once the main features are implemented

@acerv
Copy link
Collaborator Author

acerv commented Feb 26, 2025

merged

@acerv acerv closed this Feb 26, 2025
@acerv acerv deleted the randomize_option branch April 16, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants